MCPcopy
hub / github.com/prometheus/prometheus / query

Function query

tsdb/db_test.go:146–148  ·  view source on GitHub ↗

query runs a matcher query against the querier and fully expands its data.

(t testing.TB, q storage.Querier, matchers ...*labels.Matcher)

Source from the content-addressed store, hash-verified

144
145// query runs a matcher query against the querier and fully expands its data.
146func query(t testing.TB, q storage.Querier, matchers ...*labels.Matcher) map[string][]chunks.Sample {
147 return queryHelper(t, q, true, matchers...)
148}
149
150// queryWithoutReplacingNaNs runs a matcher query against the querier and fully expands its data.
151func queryWithoutReplacingNaNs(t testing.TB, q storage.Querier, matchers ...*labels.Matcher) map[string][]chunks.Sample {

Calls 1

queryHelperFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…