Skip to content

Commit

Permalink
[pdata] Update Metric Sum and Gauge structs comments (#4784)
Browse files Browse the repository at this point in the history
Remove mentions of "double" from numeric value structs
  • Loading branch information
dmitryax authored Feb 1, 2022
1 parent a1322ae commit 4b69927
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions model/internal/cmd/pdatagen/internal/metrics_structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ var metric = &messageValueStruct{

var doubleGauge = &messageValueStruct{
structName: "Gauge",
description: "// Gauge represents the type of a double scalar metric that always exports the \"current value\" for every data point.",
description: "// Gauge represents the type of a numeric metric that always exports the \"current value\" for every data point.",
originFullName: "otlpmetrics.Gauge",
fields: []baseField{
&sliceField{
Expand All @@ -141,7 +141,7 @@ var doubleGauge = &messageValueStruct{

var doubleSum = &messageValueStruct{
structName: "Sum",
description: "// Sum represents the type of a numeric double scalar metric that is calculated as a sum of all reported measurements over a time interval.",
description: "// Sum represents the type of a numeric metric that is calculated as a sum of all reported measurements over a time interval.",
originFullName: "otlpmetrics.Sum",
fields: []baseField{
aggregationTemporalityField,
Expand Down
4 changes: 2 additions & 2 deletions model/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 4b69927

Please sign in to comment.