Skip to content

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.

chore: add empty labels to response (#5668)

Srikanth Chekuri0157b47424fa
diff --git a/pkg/query-service/model/v3/v3.go b/pkg/query-service/model/v3/v3.go
index a133cdaf23..491cfaac88 100644
--- a/pkg/query-service/model/v3/v3.go
+++ b/pkg/query-service/model/v3/v3.go
@@ -1040,8 +1040,8 @@ type LogsLiveTailClient struct {
}
type Series struct {
- Labels map[string]string `json:"labels,omitempty"`
- LabelsArray []map[string]string `json:"labelsArray,omitempty"`
+ Labels map[string]string `json:"labels"`
+ LabelsArray []map[string]string `json:"labelsArray"`
Points []Point `json:"values"`
}