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
fix(metricreduction): type the no-kept-labels preview count so the driver can scan it (#13221)
Vikrant Guptae69d3fcc8ce9
diff --git a/ee/modules/metricreductionrule/implmetricreductionrule/clickhouse.go b/ee/modules/metricreductionrule/implmetricreductionrule/clickhouse.goindex e0f84cfd4e..5832c7fa14 100644--- a/ee/modules/metricreductionrule/implmetricreductionrule/clickhouse.go+++ b/ee/modules/metricreductionrule/implmetricreductionrule/clickhouse.go@@ -116,7 +116,7 @@ func (c *clickhouse) EstimateCardinality(ctx context.Context, metricName string,sb := sqlbuilder.NewSelectBuilder()- reducedExpr := "1"+ reducedExpr := "toUInt64(1)"if len(keptLabels) > 0 {reducedExpr = "uniq(("for i, label := range keptLabels {