MCPcopy
hub / github.com/prometheus/prometheus / TestScrapeLoopMetadata

Function TestScrapeLoopMetadata

scrape/scrape_test.go:1306–1310  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1304}
1305
1306func TestScrapeLoopMetadata(t *testing.T) {
1307 foreachAppendable(t, func(t *testing.T, appV2 bool) {
1308 testScrapeLoopMetadata(t, appV2)
1309 })
1310}
1311
1312func testScrapeLoopMetadata(t *testing.T, appV2 bool) {
1313 sl, _ := newTestScrapeLoop(t, withAppendable(teststorage.NewAppendable(), appV2))

Callers

nothing calls this directly

Calls 2

foreachAppendableFunction · 0.85
testScrapeLoopMetadataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…