Skip to content

Commit

Permalink
fix bug issue#3118 and issue#3161 (open-telemetry#3310)
Browse files Browse the repository at this point in the history
  • Loading branch information
tydhot authored and dashpole committed Jun 14, 2021
1 parent 8a3cf2b commit 0e0304c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/prometheusexporter/accumulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func timeseriesSignature(ilmName string, metric pdata.Metric, labels pdata.Strin
b.WriteString(metric.DataType().String())
b.WriteString("*" + ilmName)
b.WriteString("*" + metric.Name())
labels.Range(func(k string, v string) bool {
labels.Sort().Range(func(k string, v string) bool {
b.WriteString("*" + k + "*" + v)
return true
})
Expand Down

0 comments on commit 0e0304c

Please sign in to comment.