Versions in this module Expand all Collapse all v1 v1.20.0 Nov 10, 2025 GO-2024-3036 GO-2024-3036: cortex establishes TLS connections with `InsecureSkipVerify` set to `true` in github.com/cortexproject/cortex Changes in this version + const TypeHeader + func AddEngineTypeToContext(ctx context.Context, r *http.Request) context.Context + type Engine struct + func New(opts promql.EngineOpts, thanosEngineCfg ThanosEngineConfig, ...) *Engine + func (qf *Engine) MakeInstantQueryFromPlan(ctx context.Context, q storage.Queryable, opts promql.QueryOpts, ...) (promql.Query, error) + func (qf *Engine) MakeRangeQueryFromPlan(ctx context.Context, q storage.Queryable, opts promql.QueryOpts, ...) (promql.Query, error) + func (qf *Engine) NewInstantQuery(ctx context.Context, q storage.Queryable, opts promql.QueryOpts, qs string, ...) (promql.Query, error) + func (qf *Engine) NewRangeQuery(ctx context.Context, q storage.Queryable, opts promql.QueryOpts, qs string, ...) (promql.Query, error) + type QueryEngine interface + MakeInstantQueryFromPlan func(ctx context.Context, q storage.Queryable, opts promql.QueryOpts, ...) (promql.Query, error) + MakeRangeQueryFromPlan func(ctx context.Context, q storage.Queryable, opts promql.QueryOpts, ...) (promql.Query, error) + type ThanosEngineConfig struct + EnableXFunctions bool + Enabled bool + LogicalOptimizers []logicalplan.Optimizer + Optimizers string + func (cfg *ThanosEngineConfig) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet) + func (cfg *ThanosEngineConfig) Validate() error + type Type string + const None + const Prometheus + const Thanos + func GetEngineType(ctx context.Context) Type v1.20.0-rc.1 Nov 4, 2025 GO-2024-3036 GO-2024-3036: cortex establishes TLS connections with `InsecureSkipVerify` set to `true` in github.com/cortexproject/cortex v1.20.0-rc.0 Oct 31, 2025 GO-2024-3036 GO-2024-3036: cortex establishes TLS connections with `InsecureSkipVerify` set to `true` in github.com/cortexproject/cortex