Documentation ¶
Index ¶
Constants ¶
View Source
const ForceFallbackHeaderName = "X-Mimir-Force-Prometheus-Engine"
Variables ¶
This section is empty.
Functions ¶
func NewEngineWithFallback ¶
func NewEngineWithFallback(preferred, fallback promql.QueryEngine, reg prometheus.Registerer, logger log.Logger) promql.QueryEngine
func NewNotSupportedError ¶
Types ¶
type EngineFallbackInjector ¶
type EngineFallbackInjector struct{}
type EngineWithFallback ¶
type EngineWithFallback struct {
// contains filtered or unexported fields
}
func (EngineWithFallback) NewInstantQuery ¶
type NotSupportedError ¶
type NotSupportedError struct {
// contains filtered or unexported fields
}
func (NotSupportedError) Error ¶
func (e NotSupportedError) Error() string
func (NotSupportedError) Is ¶
func (e NotSupportedError) Is(target error) bool
Click to show internal directories.
Click to hide internal directories.