diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index b0e450e0f92..ec387b84fd0 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -310,7 +310,7 @@ An object describing the local (on-disk) cache of metadata from permanent storag ### usage_report -* `usage_report.enabled` `(bool : false)` - Store API and Gateway usage reports into key-value store. +* `usage_report.enabled` `(bool : true)` - Store API and Gateway usage reports into key-value store. * `usage_report.flush_interval` `(duration : 5m)` - Sets interval for flushing in-memory usage data to key-value store. ### ui diff --git a/pkg/config/defaults.go b/pkg/config/defaults.go index 9d566fabced..6033ff72040 100644 --- a/pkg/config/defaults.go +++ b/pkg/config/defaults.go @@ -170,5 +170,6 @@ func setDefaults(cfgType string) { viper.SetDefault("ugc.prepare_interval", time.Minute) viper.SetDefault("ugc.prepare_max_file_size", 20*1024*1024) + viper.SetDefault("usage_report.enabled", true) viper.SetDefault("usage_report.flush_interval", 5*time.Minute) }