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: don't panic in GetClickhouseColumnName (#7493)
Nityananda Gohaindf5767198c3f
diff --git a/pkg/query-service/utils/format.go b/pkg/query-service/utils/format.goindex 743109e86b..1acf9d6ff8 100644--- a/pkg/query-service/utils/format.go+++ b/pkg/query-service/utils/format.go@@ -303,7 +303,7 @@ func GetClickhouseColumnName(typeName string, dataType, field string) string {typeName = constants.Attributes}- if typeName != string(v3.AttributeKeyTypeResource) {+ if typeName != string(v3.AttributeKeyTypeResource) && len(typeName) > 0 {typeName = typeName[:len(typeName)-1]}@@ -319,7 +319,7 @@ func GetClickhouseColumnNameV2(typeName string, dataType, field string) string {typeName = constants.Attributes}- if typeName != string(v3.AttributeKeyTypeResource) {+ if typeName != string(v3.AttributeKeyTypeResource) && len(typeName) > 0 {typeName = typeName[:len(typeName)-1]}