Browse Source

Remove another dupe

pull/18622/head
Semir Patel 1 year ago
parent
commit
277682bdce
  1. 9
      agent/consul/usagemetrics/usagemetrics_oss.go

9
agent/consul/usagemetrics/usagemetrics_oss.go

@ -150,15 +150,6 @@ func (u *UsageMetricsReporter) emitConfigEntryUsage(configUsage state.ConfigEntr
}
func (u *UsageMetricsReporter) emitVersionUsage(GetVersionWithMetadata string) {
metrics.SetGaugeWithLabels(
[]string{"consul", "version"},
1,
[]metrics.Label{
{Name: "version", Value: GetVersionWithMetadata},
{Name: "pre_release", Value: consulversion.VersionPrerelease},
},
)
// consul version metric with labels
metrics.SetGaugeWithLabels(
[]string{"version"},

Loading…
Cancel
Save