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

Method Describe

prometheus/collector.go:49–49  ·  prometheus/collector.go::Collector.Describe

Describe sends the super-set of all possible descriptors of metrics collected by this Collector to the provided channel and returns once the last descriptor has been sent. The sent descriptors fulfill the consistency and uniqueness requirements described in the Desc documentation. It is valid if on

(chan<- *Desc)

Source from the content-addressed store, hash-verified

47 // must send an invalid descriptor (created with NewInvalidDesc) to
48 // signal the error to the registry.
49 Describe(chan<- *Desc)
50 // Collect is called by the Prometheus registry when collecting
51 // metrics. The implementation sends each collected metric via the
52 // provided channel and returns once the last metric has been sent. The

Callers 10

DescribeMethod · 0.65
DescribeMethod · 0.65
DescribeMethod · 0.65
DescribeMethod · 0.65
DescribeMethod · 0.65
RegisterMethod · 0.65
UnregisterMethod · 0.65
DescribeMethod · 0.65
TestCollectorFuncFunction · 0.65
checkLabelsFunction · 0.65

Implementers 15

processCollectorprometheus/process_collector.go
ClusterManagerCollectorprometheus/example_clustermanager_test
goCollectorprometheus/go_collector_latest.go
baseGoCollectorprometheus/go_collector.go
wrappingCollectorprometheus/wrap.go
MetricVecprometheus/vec.go
metricMapprometheus/vec.go
collectorDescribedByCollectprometheus/collector_test.go
uncheckedCollectorprometheus/wrap_test.go
collidingCollectorprometheus/registry_test.go
customCollectorprometheus/registry_test.go
Registryprometheus/registry.go

Calls

no outgoing calls

Tested by 2

DescribeMethod · 0.52
TestCollectorFuncFunction · 0.52