Skip to content

Commit

Permalink
Update exporters/prometheus/exporter.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <[email protected]>
  • Loading branch information
dashpole and MrAlias authored Oct 18, 2022
1 parent 53714eb commit 5d5b49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/prometheus/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type collector struct {
reader metric.Reader
}

// prometheus counters MUST have a _total suffix:
// Prometheus counters MUST have a _total suffix:
// https://github.com/open-telemetry/opentelemetry-specification/blob/v1.14.0/specification/metrics/data-model.md#sums-1
const counterSuffix = "_total"

Expand Down

0 comments on commit 5d5b49f

Please sign in to comment.