Skip to content

Commit

Permalink
cmd: Adds log message when telemetry is active
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas authored and arekkas committed May 29, 2018
1 parent 726c4be commit f623c52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/server/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f623c52

Please sign in to comment.