Skip to content

Commit

Permalink
[pdatage] Update numeric value struct names (#4785)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryax authored Feb 1, 2022
1 parent 4b69927 commit caead4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions model/internal/cmd/pdatagen/internal/metrics_structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ var metricsFile = &File{
instrumentationLibraryMetrics,
metricSlice,
metric,
doubleGauge,
doubleSum,
gauge,
sum,
histogram,
exponentialHistogram,
summary,
Expand Down Expand Up @@ -126,7 +126,7 @@ var metric = &messageValueStruct{
},
}

var doubleGauge = &messageValueStruct{
var gauge = &messageValueStruct{
structName: "Gauge",
description: "// Gauge represents the type of a numeric metric that always exports the \"current value\" for every data point.",
originFullName: "otlpmetrics.Gauge",
Expand All @@ -139,7 +139,7 @@ var doubleGauge = &messageValueStruct{
},
}

var doubleSum = &messageValueStruct{
var sum = &messageValueStruct{
structName: "Sum",
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",
Expand Down

0 comments on commit caead4c

Please sign in to comment.