MCPcopy Index your code
hub / github.com/cortexproject/cortex / Engine

Struct Engine

pkg/engine/engine.go:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53type Engine struct {
54 prometheusEngine *promql.Engine
55 thanosEngine *thanosengine.Engine
56
57 fallbackQueriesTotal prometheus.Counter
58 engineSwitchQueriesTotal *prometheus.CounterVec
59}
60
61func New(opts promql.EngineOpts, thanosEngineCfg ThanosEngineConfig, reg prometheus.Registerer) *Engine {
62 prometheusEngine := promql.NewEngine(opts)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected