Skip to content

Commit

Permalink
PMM-9870 fix collstats indexDetails metrics.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Nov 11, 2024
1 parent 9e7bf83 commit e2c19fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func makeMetrics(prefix string, m bson.M, labels map[string]string, compatibleMo
for k, val := range m {
nextPrefix := prefix + k

var l = make(map[string]string)
l := make(map[string]string)
if label, ok := keyNodesToLabels[prefix]; ok {
for k, v := range labels {
l[k] = v
Expand Down

0 comments on commit e2c19fb

Please sign in to comment.