Skip to content

Commit

Permalink
Rename DoubleSummary to Summary, preparation for proto upgrade to v0.…
Browse files Browse the repository at this point in the history
…8.0 (#2774)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed Mar 24, 2021
1 parent 3a9b4d8 commit 8da7dcc
Show file tree
Hide file tree
Showing 11 changed files with 179 additions and 178 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,7 @@

## 🛑 Breaking changes 🛑

- Rename pdata.DoubleSummary to pdata.Summary (#2774)
- Refactored `consumererror` package (#2768)
- Eliminated `PartialError` type in favor of signal-specific types
- Renamed `CombineErrors` to `Combine`
Expand Down
10 changes: 5 additions & 5 deletions cmd/pdatagen/internal/metrics_structs.go
Expand Up @@ -212,8 +212,8 @@ var doubleHistogram = &messageValueStruct{
}

var doubleSummary = &messageValueStruct{
structName: "DoubleSummary",
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.",
structName: "Summary",
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.",
originFullName: "otlpmetrics.DoubleSummary",
fields: []baseField{
&sliceField{
Expand Down Expand Up @@ -303,13 +303,13 @@ var doubleHistogramDataPoint = &messageValueStruct{
}

var doubleSummaryDataPointSlice = &sliceOfPtrs{
structName: "DoubleSummaryDataPointSlice",
structName: "SummaryDataPointSlice",
element: doubleSummaryDataPoint,
}

var doubleSummaryDataPoint = &messageValueStruct{
structName: "DoubleSummaryDataPoint",
description: "// DoubleSummaryDataPoint is a single data point in a timeseries that describes the time-varying values of a Summary of double values.",
structName: "SummaryDataPoint",
description: "// SummaryDataPoint is a single data point in a timeseries that describes the time-varying values of a Summary of double values.",
originFullName: "otlpmetrics.DoubleSummaryDataPoint",
fields: []baseField{
labelsField,
Expand Down
126 changes: 63 additions & 63 deletions consumer/pdata/generated_metrics.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8da7dcc

Please sign in to comment.