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
chore: small patch to fix consumer_group check
shivanshu3b94dab3ce53
diff --git a/pkg/query-service/app/integrations/messagingQueues/kafka/translator.go b/pkg/query-service/app/integrations/messagingQueues/kafka/translator.goindex 98414ebf0f..6b5d355caa 100644--- a/pkg/query-service/app/integrations/messagingQueues/kafka/translator.go+++ b/pkg/query-service/app/integrations/messagingQueues/kafka/translator.go@@ -48,15 +48,14 @@ func buildClickHouseQuery(messagingQueue *MessagingQueue, queueType string, querreturn nil, fmt.Errorf("invalid type for Partition")}- consumerGroup, ok := messagingQueue.Variables["consumer_group"]- if !ok {- return nil, fmt.Errorf("invalid type for consumer group")- }-var query stringif queryContext == "producer" {query = generateProducerSQL(start, end, topic, partition, queueType)} else if queryContext == "consumer" {+ consumerGroup, ok := messagingQueue.Variables["consumer_group"]+ if !ok {+ return nil, fmt.Errorf("invalid type for consumer group")+ }query = generateConsumerSQL(start, end, topic, partition, consumerGroup, queueType)}