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
dataType constant strings
nityanandagohain4825ed6e5ffc
diff --git a/pkg/query-service/constants/constants.go b/pkg/query-service/constants/constants.goindex af96d2571f..b77d8dd7bf 100644--- a/pkg/query-service/constants/constants.go+++ b/pkg/query-service/constants/constants.go@@ -99,30 +99,37 @@ func GetOrDefaultEnv(key string, fallback string) string {return v}+const (+ STRING = "String"+ UINT32 = "UInt32"+ LOWCARDINALITY_STRING = "LowCardinality(String)"+ INT32 = "Int32"+)+var StaticInterestingLogFields = []model.LogField{{Name: "trace_id",- DataType: "String",+ DataType: STRING,Type: Static,},{Name: "span_id",- DataType: "String",+ DataType: STRING,Type: Static,},{Name: "trace_flags",- DataType: "UInt32",+ DataType: UINT32,Type: Static,},{Name: "severity_text",- DataType: "LowCardinality(String)",+ DataType: LOWCARDINALITY_STRING,Type: Static,},{Name: "severity_number",- DataType: "Int32",+ DataType: INT32,Type: Static,},}@@ -130,12 +137,12 @@ var StaticInterestingLogFields = []model.LogField{var StaticSelectedLogFields = []model.LogField{{Name: "timestamp",- DataType: "UInt64",+ DataType: UINT32,Type: Static,},{Name: "id",- DataType: "String",+ DataType: STRING,Type: Static,},}