From 3f17bcb6c309157ec256be9197149014efea1c42 Mon Sep 17 00:00:00 2001 From: Ravan Scafi <6104262+ravanscafi@users.noreply.github.com> Date: Tue, 10 Oct 2023 14:17:23 +0200 Subject: [PATCH] Fix WithoutCounterSuffixes documentation (#4602) --- exporters/prometheus/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporters/prometheus/config.go b/exporters/prometheus/config.go index 885fd8b8b39..fe14212784d 100644 --- a/exporters/prometheus/config.go +++ b/exporters/prometheus/config.go @@ -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