SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
chore: add option to ignore data skipping indices (#8738)
Nityananda Gohain99bbb877387d
diff --git a/conf/example.yaml b/conf/example.yamlindex 1dfbec121a..dff8a2f691 100644--- a/conf/example.yaml+++ b/conf/example.yaml@@ -121,6 +121,7 @@ telemetrystore:timeout_before_checking_execution_speed: 0max_bytes_to_read: 0max_result_rows: 0+ ignore_data_skipping_indices: ""##################### Prometheus #####################prometheus:diff --git a/pkg/telemetrystore/config.go b/pkg/telemetrystore/config.goindex 120740b263..fc7c050a01 100644--- a/pkg/telemetrystore/config.go+++ b/pkg/telemetrystore/config.go@@ -40,11 +40,12 @@ type ClickhouseConfig struct {}type QuerySettings struct {- MaxExecutionTime int `mapstructure:"max_execution_time"`- MaxExecutionTimeLeaf int `mapstructure:"max_execution_time_leaf"`- TimeoutBeforeCheckingExecutionSpeed int `mapstructure:"timeout_before_checking_execution_speed"`- MaxBytesToRead int `mapstructure:"max_bytes_to_read"`- MaxResultRows int `mapstructure:"max_result_rows"`+ MaxExecutionTime int `mapstructure:"max_execution_time"`+ MaxExecutionTimeLeaf int `mapstructure:"max_execution_time_leaf"`+ TimeoutBeforeCheckingExecutionSpeed int `mapstructure:"timeout_before_checking_execution_speed"`+ MaxBytesToRead int `mapstructure:"max_bytes_to_read"`+ MaxResultRows int `mapstructure:"max_result_rows"`+ IgnoreDataSkippingIndices string `mapstructure:"ignore_data_skipping_indices"`}func NewConfigFactory() factory.ConfigFactory {diff --git a/pkg/telemetrystore/telemetrystorehook/settings.go b/pkg/telemetrystore/telemetrystorehook/settings.goindex af0ef93a31..d317b942f0 100644--- a/pkg/telemetrystore/telemetrystorehook/settings.go+++ b/pkg/telemetrystore/telemetrystorehook/settings.go@@ -53,6 +53,10 @@ func (h *provider) BeforeQuery(ctx context.Context, _ *telemetrystore.QueryEventsettings["timeout_before_checking_execution_speed"] = h.settings.TimeoutBeforeCheckingExecutionSpeed}+ if h.settings.IgnoreDataSkippingIndices != "" {+ settings["ignore_data_skipping_indices"] = h.settings.IgnoreDataSkippingIndices+ }+if ctx.Value("clickhouse_max_threads") != nil {if maxThreads, ok := ctx.Value("clickhouse_max_threads").(int); ok {settings["max_threads"] = maxThreads