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: remove table `default.signoz_spans` from the codebase (#656)
Mustaque Ahmedebb1c2ac796f
diff --git a/pkg/query-service/app/clickhouseReader/options.go b/pkg/query-service/app/clickhouseReader/options.goindex 979d0bf147..66a1eaacdc 100644--- a/pkg/query-service/app/clickhouseReader/options.go+++ b/pkg/query-service/app/clickhouseReader/options.go@@ -19,9 +19,7 @@ const (defaultDatasource string = "tcp://localhost:9000"defaultOperationsTable string = "signoz_operations"defaultIndexTable string = "signoz_index"- defaultSpansTable string = "signoz_spans"defaultErrorTable string = "signoz_error_index"- defaultArchiveSpansTable string = "signoz_archive_spans"defaultWriteBatchDelay time.Duration = 5 * time.SeconddefaultWriteBatchSize int = 10000defaultEncoding Encoding = EncodingJSON@@ -90,7 +88,6 @@ func NewOptions(datasource string, primaryNamespace string, otherNamespaces ...sDatasource: datasource,OperationsTable: defaultOperationsTable,IndexTable: defaultIndexTable,- SpansTable: defaultSpansTable,ErrorTable: defaultErrorTable,WriteBatchDelay: defaultWriteBatchDelay,WriteBatchSize: defaultWriteBatchSize,@@ -107,7 +104,6 @@ func NewOptions(datasource string, primaryNamespace string, otherNamespaces ...sDatasource: datasource,OperationsTable: "",IndexTable: "",- SpansTable: defaultArchiveSpansTable,ErrorTable: "",WriteBatchDelay: defaultWriteBatchDelay,WriteBatchSize: defaultWriteBatchSize,diff --git a/pkg/query-service/app/clickhouseReader/reader.go b/pkg/query-service/app/clickhouseReader/reader.goindex 8e9353811e..2158408631 100644--- a/pkg/query-service/app/clickhouseReader/reader.go+++ b/pkg/query-service/app/clickhouseReader/reader.go@@ -74,7 +74,6 @@ type ClickHouseReader struct {operationsTable stringindexTable stringerrorTable string- spansTable stringqueryEngine *promql.EngineremoteStorage *remote.StorageruleManager *rules.Manager@@ -98,7 +97,6 @@ func NewReader(localDB *sqlx.DB) *ClickHouseReader {localDB: localDB,operationsTable: options.primary.OperationsTable,indexTable: options.primary.IndexTable,- spansTable: options.primary.SpansTable,errorTable: options.primary.ErrorTable,}}