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(added-backticks): added backticks for hyphen (#8644)
aniketio-ctrl360285ef3368
diff --git a/pkg/query-service/utils/format.go b/pkg/query-service/utils/format.goindex 7743522288..2b6fbcbe76 100644--- a/pkg/query-service/utils/format.go+++ b/pkg/query-service/utils/format.go@@ -245,8 +245,8 @@ func ClickHouseFormattedMetricNames(v interface{}) string {}func AddBackTickToFormatTag(str string) string {- if strings.Contains(str, ".") {- return "`" + str + "`"+ if strings.Contains(str, ".") || strings.Contains(str, "-") {+ if strings.HasPrefix(str, "`") && strings.HasSuffix(str, "`") { return str } else { return "`" + str + "`" }} else {return str}