Skip to content

Commit

Permalink
set envconfig DISABLE_STATS true by default
Browse files Browse the repository at this point in the history
Signed-off-by: John Zheng <john.zheng@hp.com>
  • Loading branch information
johnzheng1975 committed Nov 14, 2024
1 parent 0e630f1 commit 7961f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ type Settings struct {
StatsdPort int `envconfig:"STATSD_PORT" default:"8125"`
ExtraTags map[string]string `envconfig:"EXTRA_TAGS" default:""`
StatsFlushInterval time.Duration `envconfig:"STATS_FLUSH_INTERVAL" default:"10s"`
DisableStats bool `envconfig:"DISABLE_STATS" default:"false"`
DisableStats bool `envconfig:"DISABLE_STATS" default:"true"`
UsePrometheus bool `envconfig:"USE_PROMETHEUS" default:"false"`
PrometheusAddr string `envconfig:"PROMETHEUS_ADDR" default:":9090"`
PrometheusPath string `envconfig:"PROMETHEUS_PATH" default:"/metrics"`
Expand Down

0 comments on commit 7961f7f

Please sign in to comment.