MCPcopy
hub / github.com/prometheus/prometheus / GetMetadata

Method GetMetadata

scrape/target.go:96–96  ·  view source on GitHub ↗
(mfName string)

Source from the content-addressed store, hash-verified

94type MetricMetadataStore interface {
95 ListMetadata() []MetricMetadata
96 GetMetadata(mfName string) (MetricMetadata, bool)
97 SizeMetadata() int
98 LengthMetadata() int
99}

Callers 6

readSegmentMethod · 0.65
GetMetadataMethod · 0.65
testScrapeLoopMetadataFunction · 0.65
targetMetadataMethod · 0.65
metricMetadataMethod · 0.65

Implementers 4

TestMetaStorestorage/remote/metadata_watcher_test.g
Targetscrape/target.go
scrapeCachescrape/scrape.go
testMetaStoreweb/api/v1/api_test.go

Calls

no outgoing calls

Tested by 1

testScrapeLoopMetadataFunction · 0.52