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
update service.instance.id (#6665)
Shivanshu Raj Shrivastava83aa48c72155
diff --git a/pkg/query-service/app/integrations/messagingQueues/kafka/sql.go b/pkg/query-service/app/integrations/messagingQueues/kafka/sql.goindex 67b32938f0..05577ab8b9 100644--- a/pkg/query-service/app/integrations/messagingQueues/kafka/sql.go+++ b/pkg/query-service/app/integrations/messagingQueues/kafka/sql.go@@ -329,7 +329,7 @@ func generateNetworkLatencyThroughputSQL(start, end int64, consumerGroup, partitquery := fmt.Sprintf(`SELECTattributes_string['messaging.client_id'] AS client_id,- attributes_string['service.instance.id'] AS service_instance_id,+ resources_string['service.instance.id'] AS service_instance_id,resource_string_service$$name AS service_name,count(*) / %d AS throughputFROM signoz_traces.distributed_signoz_index_v3@@ -374,7 +374,7 @@ SELECTCOUNT(IF(has(attributes_string, 'messaging.kafka.consumer.group'), 1, NULL)) = 0 AS cgroup,COUNT(IF(has(attributes_number, 'messaging.message.body.size'), 1, NULL)) = 0 AS bodysize,COUNT(IF(has(attributes_string, 'messaging.client_id'), 1, NULL)) = 0 AS clientid,- COUNT(IF(has(attributes_string, 'service.instance.id'), 1, NULL)) = 0 AS instanceid+ COUNT(IF(has(resources_string, 'service.instance.id'), 1, NULL)) = 0 AS instanceidFROM signoz_traces.distributed_signoz_index_v3WHEREtimestamp >= '%d'diff --git a/pkg/query-service/constants/constants.go b/pkg/query-service/constants/constants.goindex 33caecb0d6..7d6f087188 100644--- a/pkg/query-service/constants/constants.go+++ b/pkg/query-service/constants/constants.go@@ -90,7 +90,7 @@ func EnableHostsInfraMonitoring() bool {return GetOrDefaultEnv("ENABLE_INFRA_METRICS", "true") == "true"}-var KafkaSpanEval = GetOrDefaultEnv("KAFKA_SPAN_EVAL", "true")+var KafkaSpanEval = GetOrDefaultEnv("KAFKA_SPAN_EVAL", "false")func IsDurationSortFeatureEnabled() bool {isDurationSortFeatureEnabledStr := DurationSortFeature