From f623c52655ff85b7f7209eb73e94eb66a297c5b7 Mon Sep 17 00:00:00 2001 From: arekkas Date: Tue, 29 May 2018 19:30:22 +0200 Subject: [PATCH] cmd: Adds log message when telemetry is active --- cmd/server/serve.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/server/serve.go b/cmd/server/serve.go index aa8b1ad66..8bc5e834a 100644 --- a/cmd/server/serve.go +++ b/cmd/server/serve.go @@ -108,6 +108,8 @@ func RunServe( corsHandler := cors.New(corsx.ParseOptions()).Handler(n) 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/") + m := metrics.NewMetricsManager( metrics.Hash("DATABASE_URL"), viper.GetString("DATABASE_URL") != "memory",