MCPcopy
hub / github.com/prometheus/client_golang / attachOriginalName

Function attachOriginalName

prometheus/go_collector_latest.go:290–292  ·  view source on GitHub ↗
(desc, origName string)

Source from the content-addressed store, hash-verified

288}
289
290func attachOriginalName(desc, origName string) string {
291 return fmt.Sprintf("%s Sourced from %s.", desc, origName)
292}
293
294// Describe returns all descriptions of the collector.
295func (c *goCollector) Describe(ch chan<- *Desc) {

Callers 1

NewGoCollectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected