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.

fix(apiserver): remove redundant logs by default (#7375)

Vibhu Pandeye04e58d8b3be
diff --git a/conf/example.yaml b/conf/example.yaml
index 0375f72928..4f07c56329 100644
--- a/conf/example.yaml
+++ b/conf/example.yaml
@@ -82,6 +82,8 @@ apiserver:
# List of routes to exclude from request responselogging.
excluded_routes:
- /api/v1/health
+ - /api/v1/version
+ - /
##################### TelemetryStore #####################
diff --git a/pkg/apiserver/config.go b/pkg/apiserver/config.go
index 79a4259589..e505c312c2 100644
--- a/pkg/apiserver/config.go
+++ b/pkg/apiserver/config.go
@@ -43,6 +43,8 @@ func newConfig() factory.Config {
Logging: Logging{
ExcludedRoutes: []string{
"/api/v1/health",
+ "/api/v1/version",
+ "/",
},
},
}