MCPcopy
hub / github.com/ccfos/nightingale / Query

Method Query

pkg/prom/reader.go:270–270  ·  view source on GitHub ↗

Query performs a query for the given time.

(ctx context.Context, query string, ts time.Time)

Source from the content-addressed store, hash-verified

268 LabelValues(ctx context.Context, label string, matches []string) (model.LabelValues, Warnings, error)
269 // Query performs a query for the given time.
270 Query(ctx context.Context, query string, ts time.Time) (model.Value, Warnings, error)
271 // QueryRange performs a query for the given range.
272 QueryRange(ctx context.Context, query string, r Range) (model.Value, Warnings, error)
273 // Series finds series by label matchers.

Callers 15

EvalMethod · 0.65
SendCallbacksMethod · 0.65
InitRegisterQueryFuncFunction · 0.65
queryRecoveryValMethod · 0.65
GetPromAnomalyPointMethod · 0.65
VarFillingAfterQueryMethod · 0.65
getParamKeyAllLabelFunction · 0.65
VarFillingBeforeQueryMethod · 0.65
ExtractAtsParamsFunction · 0.65
QueryLogMethod · 0.65
QueryFieldValueMethod · 0.65
QueryFieldValueMethod · 0.65

Implementers 1

httpAPIpkg/prom/reader.go

Calls

no outgoing calls

Tested by 3

TestQueryFunction · 0.52
TestVictoriaLogs_QueryFunction · 0.52