Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
94
type
MetricMetadataStore
interface
{
95
ListMetadata() []MetricMetadata
96
GetMetadata(mfName string) (MetricMetadata, bool)
97
SizeMetadata() int
98
LengthMetadata() int
99
}
Callers
6
readSegment
Method · 0.65
GetMetadata
Method · 0.65
checkAndSynthesizeStartTime
Method · 0.65
testScrapeLoopMetadata
Function · 0.65
targetMetadata
Method · 0.65
metricMetadata
Method · 0.65
Implementers
4
TestMetaStore
storage/remote/metadata_watcher_test.g
Target
scrape/target.go
scrapeCache
scrape/scrape.go
testMetaStore
web/api/v1/api_test.go
Calls
no outgoing calls
Tested by
1
testScrapeLoopMetadata
Function · 0.52