From 8514bd76953accf6aa84f1e2dd875306964e8787 Mon Sep 17 00:00:00 2001 From: bwplotka Date: Fri, 16 Aug 2024 09:58:24 +0100 Subject: [PATCH] gocollector: Tiny fix for help message with runtime/metrics source. Signed-off-by: bwplotka --- prometheus/go_collector_latest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/go_collector_latest.go b/prometheus/go_collector_latest.go index 5117464..6b86847 100644 --- a/prometheus/go_collector_latest.go +++ b/prometheus/go_collector_latest.go @@ -288,7 +288,7 @@ func NewGoCollector(opts ...func(o *internal.GoCollectorOptions)) Collector { } func attachOriginalName(desc, origName string) string { - return fmt.Sprintf("%s Sourced from %s", desc, origName) + return fmt.Sprintf("%s Sourced from %s.", desc, origName) } // Describe returns all descriptions of the collector.