Skip to content

Commit

Permalink
Merge pull request #1583 from prometheus/fix
Browse files Browse the repository at this point in the history
gocollector: Tiny fix for help message with runtime/metrics source.
  • Loading branch information
ArthurSens authored Aug 16, 2024
2 parents 05936e8 + 8514bd7 commit 989a6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus/go_collector_latest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 989a6d0

Please sign in to comment.