diff --git a/cmd/serve_api.go b/cmd/serve_api.go index 63a3fc26ea..54012966a8 100644 --- a/cmd/serve_api.go +++ b/cmd/serve_api.go @@ -83,6 +83,8 @@ HTTP CONTROLS n.Use(negronilogrus.NewMiddlewareFromLogger(logger, "oathkeeper-api")) if ok, _ := cmd.Flags().GetBool("disable-telemetry"); !ok { + logger.Println("Transmission of telemetry data is enabled, to learn more go to: https://www.ory.sh/docs/guides/latest/telemetry/") + segmentMiddleware := metrics.NewMetricsManager( metrics.Hash(viper.GetString("DATABASE_URL")), viper.GetString("DATABASE_URL") != "memory", diff --git a/cmd/serve_proxy.go b/cmd/serve_proxy.go index b951387a49..8f2af269c9 100644 --- a/cmd/serve_proxy.go +++ b/cmd/serve_proxy.go @@ -206,6 +206,8 @@ OTHER CONTROLS n.Use(negronilogrus.NewMiddlewareFromLogger(logger, "oathkeeper-proxy")) if ok, _ := cmd.Flags().GetBool("disable-telemetry"); !ok { + logger.Println("Transmission of telemetry data is enabled, to learn more go to: https://www.ory.sh/docs/guides/latest/telemetry/") + segmentMiddleware := metrics.NewMetricsManager( metrics.Hash(viper.GetString("DATABASE_URL")), viper.GetString("DATABASE_URL") != "memory",