MCPcopy
hub / github.com/prometheus/prometheus / TestScrapeLoopAppendSampleLimit

Function TestScrapeLoopAppendSampleLimit

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

Source from the content-addressed store, hash-verified

3176func (a appendableFunc) Appender(ctx context.Context) storage.Appender { return a(ctx) }
3177
3178func TestScrapeLoopAppendSampleLimit(t *testing.T) {
3179 foreachAppendable(t, func(t *testing.T, appV2 bool) {
3180 testScrapeLoopAppendSampleLimit(t, appV2)
3181 })
3182}
3183
3184func testScrapeLoopAppendSampleLimit(t *testing.T, appV2 bool) {
3185 appTest := teststorage.NewAppendable()

Callers

nothing calls this directly

Calls 2

foreachAppendableFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…