Skip to content

Commit

Permalink
fixup! Update OTEL dependencies to latest release candidates
Browse files Browse the repository at this point in the history
  • Loading branch information
lrascao committed May 15, 2023
1 parent 9292c82 commit 2fe11cc
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions exporter/collector/googlemanagedprometheus/naming_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,6 @@ func TestGetMetricName(t *testing.T) {
expected string
expectErr bool
}{
{
desc: "sum without total",
baseName: "foo",
metric: func(m pmetric.Metric) {
m.SetName("foo")
sum := m.SetEmptySum()
sum.SetIsMonotonic(true)
},
expected: "foo/counter",
},
{
desc: "sum with total",
baseName: "foo_total",
Expand All @@ -74,7 +64,7 @@ func TestGetMetricName(t *testing.T) {
sum := m.SetEmptySum()
sum.SetIsMonotonic(true)
},
expected: "foo_total/counter",
expected: "foo_seconds_total/counter",
},
{
desc: "gauge",
Expand Down

0 comments on commit 2fe11cc

Please sign in to comment.