Skip to content

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.

refactor(telemetrystore): drop app-side bulk-filtering override (#12871)

Nikhil Soni59af5e0367d0
diff --git a/conf/example.yaml b/conf/example.yaml
index f0d1f0314a..28aab4aacf 100644
--- a/conf/example.yaml
+++ b/conf/example.yaml
@@ -202,7 +202,6 @@ telemetrystore:
max_bytes_to_read: 0
max_result_rows: 0
ignore_data_skipping_indices: ""
- secondary_indices_enable_bulk_filtering: false
##################### Prometheus #####################
prometheus:
diff --git a/pkg/telemetrystore/config.go b/pkg/telemetrystore/config.go
index 6a7a3297ce..fc7c050a01 100644
--- a/pkg/telemetrystore/config.go
+++ b/pkg/telemetrystore/config.go
@@ -46,7 +46,6 @@ type QuerySettings struct {
MaxBytesToRead int `mapstructure:"max_bytes_to_read"`
MaxResultRows int `mapstructure:"max_result_rows"`
IgnoreDataSkippingIndices string `mapstructure:"ignore_data_skipping_indices"`
- SecondaryIndicesEnableBulkFiltering bool `mapstructure:"secondary_indices_enable_bulk_filtering"`
}
func NewConfigFactory() factory.ConfigFactory {
diff --git a/pkg/telemetrystore/telemetrystorehook/settings.go b/pkg/telemetrystore/telemetrystorehook/settings.go
index da0929a1dc..01480eb79e 100644
--- a/pkg/telemetrystore/telemetrystorehook/settings.go
+++ b/pkg/telemetrystore/telemetrystorehook/settings.go
@@ -72,10 +72,6 @@ func (h *provider) BeforeQuery(ctx context.Context, _ *telemetrystore.QueryEvent
settings["result_overflow_mode"] = ctx.Value("result_overflow_mode")
}
- // TODO(srikanthccv): enable it when the "Cannot read all data" issue is fixed
- // https://github.com/ClickHouse/ClickHouse/issues/82283
- settings["secondary_indices_enable_bulk_filtering"] = false
-
ctx = clickhouse.Context(ctx, clickhouse.WithSettings(settings))
return ctx
}