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", + "/", }, }, }