Skip to content

Commit e110be7

Browse files
committed
Rename DoubleSummary to Summary, preparation for proto upgrade to v0.8.0
Signed-off-by: Bogdan Drutu <[email protected]>
1 parent 2df27c0 commit e110be7

File tree

11 files changed

+180
-178
lines changed

11 files changed

+180
-178
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- Rename pdata.DoubleSummary to pdata.Summary (#2774)
6+
57
## v0.23.0 Beta
68

79
## 🛑 Breaking changes 🛑

cmd/pdatagen/internal/metrics_structs.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ var doubleHistogram = &messageValueStruct{
212212
}
213213

214214
var doubleSummary = &messageValueStruct{
215-
structName: "DoubleSummary",
216-
description: "// DoubleSummary represents the type of a metric that is calculated by aggregating as a Summary of all reported double measurements over a time interval.",
215+
structName: "Summary",
216+
description: "// Summary represents the type of a metric that is calculated by aggregating as a Summary of all reported double measurements over a time interval.",
217217
originFullName: "otlpmetrics.DoubleSummary",
218218
fields: []baseField{
219219
&sliceField{
@@ -303,13 +303,13 @@ var doubleHistogramDataPoint = &messageValueStruct{
303303
}
304304

305305
var doubleSummaryDataPointSlice = &sliceOfPtrs{
306-
structName: "DoubleSummaryDataPointSlice",
306+
structName: "SummaryDataPointSlice",
307307
element: doubleSummaryDataPoint,
308308
}
309309

310310
var doubleSummaryDataPoint = &messageValueStruct{
311-
structName: "DoubleSummaryDataPoint",
312-
description: "// DoubleSummaryDataPoint is a single data point in a timeseries that describes the time-varying values of a Summary of double values.",
311+
structName: "SummaryDataPoint",
312+
description: "// SummaryDataPoint is a single data point in a timeseries that describes the time-varying values of a Summary of double values.",
313313
originFullName: "otlpmetrics.DoubleSummaryDataPoint",
314314
fields: []baseField{
315315
labelsField,

consumer/pdata/generated_metrics.go

Lines changed: 63 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)