MCPcopy Create free account
hub / github.com/cortexproject/cortex / Query

Method Query

pkg/testexporter/correctness/case.go:17–17  ·  view source on GitHub ↗
(ctx context.Context, client v1.API, selectors string, start time.Time, duration time.Duration)

Source from the content-addressed store, hash-verified

15
16 Name() string
17 Query(ctx context.Context, client v1.API, selectors string, start time.Time, duration time.Duration) ([]model.SamplePair, error)
18 ExpectedValueAt(time.Time) float64
19
20 MinQueryTime() time.Time

Callers 15

runQueryFuzzTestCasesFunction · 0.65
QueryMethod · 0.65
QueryRawMethod · 0.65
SeriesRawMethod · 0.65
LabelNamesRawMethod · 0.65
LabelValuesRawMethod · 0.65
GetPrometheusRulesMethod · 0.65
SeriesMethod · 0.65
TestSilencesLimitsFunction · 0.65
DefaultConfigHandlerFunction · 0.65

Implementers 1

simpleTestCasepkg/testexporter/correctness/simple.go

Calls

no outgoing calls

Tested by 8

runQueryFuzzTestCasesFunction · 0.52
TestSilencesLimitsFunction · 0.52
TestGetSeriesExtractorFunction · 0.52
TestRangedQueryExtractorFunction · 0.52
TestLongQueryTruncateFunction · 0.52