MCPcopy
hub / github.com/prometheus/prometheus / TestNewScrapePool

Function TestNewScrapePool

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

Source from the content-addressed store, hash-verified

91}
92
93func TestNewScrapePool(t *testing.T) {
94 foreachAppendable(t, func(t *testing.T, appV2 bool) {
95 testNewScrapePool(t, appV2)
96 })
97}
98
99func testNewScrapePool(t *testing.T, appV2 bool) {
100 var (

Callers

nothing calls this directly

Calls 2

foreachAppendableFunction · 0.85
testNewScrapePoolFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…