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: small change in api

Ankit Nayan6f8b78bd97ed
diff --git a/pkg/query-service/app/http_handler.go b/pkg/query-service/app/http_handler.go
index 116be7b220..0f4438739a 100644
--- a/pkg/query-service/app/http_handler.go
+++ b/pkg/query-service/app/http_handler.go
@@ -845,13 +845,13 @@ func (aH *APIHandler) getServices(w http.ResponseWriter, r *http.Request) {
if aH.handleError(w, err, http.StatusBadRequest) {
return
}
- if len(*result) != 4 {
- (*aH.pc).Enqueue(posthog.Capture{
- DistinctId: distinctId,
- Event: "Different Number of Services",
- Properties: posthog.NewProperties().Set("number", len(*result)),
- })
- }
+ // if len(*result) != 4 {
+ (*aH.pc).Enqueue(posthog.Capture{
+ DistinctId: distinctId,
+ Event: "Different Number of Services",
+ Properties: posthog.NewProperties().Set("number", len(*result)),
+ })
+ // }
aH.writeJSON(w, r, result)
}