MCPcopy
hub / github.com/prometheus/prometheus / newTestScrapeMetrics

Function newTestScrapeMetrics

scrape/scrape_test.go:88–91  ·  view source on GitHub ↗
(t testing.TB)

Source from the content-addressed store, hash-verified

86}
87
88func newTestScrapeMetrics(t testing.TB) *scrapeMetrics {
89 _, metrics := newTestRegistryAndScrapeMetrics(t)
90 return metrics
91}
92
93func TestNewScrapePool(t *testing.T) {
94 foreachAppendable(t, func(t *testing.T, appV2 bool) {

Callers 15

newTestScrapeLoopFunction · 0.85
newTestScrapePoolFunction · 0.85
testNewScrapePoolFunction · 0.85
testDroppedTargetsListFunction · 0.85
testScrapePoolRacesFunction · 0.85
testReuseScrapeCacheFunction · 0.85
testReuseCacheRaceFunction · 0.85
testScrapeReportLimitFunction · 0.85
testScrapeUTF8Function · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…