Skip to content

Commit

Permalink
Fix WithoutCounterSuffixes documentation
Browse files Browse the repository at this point in the history
Just a small copy/paste typo fix.
  • Loading branch information
ravanscafi authored Oct 10, 2023
1 parent f3b9849 commit 11d6b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/prometheus/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func WithoutUnits() Option {
})
}

// WithoutUnits disables exporter's addition _total suffixes on counters.
// WithoutCounterSuffixes disables exporter's addition _total suffixes on counters.
//
// By default, metric names include a _total suffix to follow Prometheus naming
// conventions. For example, the counter metric happy.people would become
Expand Down

0 comments on commit 11d6b22

Please sign in to comment.