Skip to content

Commit

Permalink
Fix go-metrics/exporter where we don't include the correct dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Pound committed Sep 5, 2023
1 parent 3a717ab commit 90bc1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-metrics/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (e *Exporter) metricToDatapoints(dps []*datapoint.Datapoint, name string, i
case metrics.Meter:
m := metric.Snapshot()
dps = append(dps,
sfxclient.Cumulative(metricName+".count", e.dims, m.Count()),
sfxclient.Cumulative(metricName+".count", dims, m.Count()),
sfxclient.GaugeF(metricName+".1m", dims, m.Rate1()),
sfxclient.GaugeF(metricName+".5m", dims, m.Rate5()),
sfxclient.GaugeF(metricName+".15m", dims, m.Rate15()),
Expand Down

0 comments on commit 90bc1d5

Please sign in to comment.