Merge pull request #377 from kuba--/opt-indiagnostics/310

Disable diagnostics by default
This commit is contained in:
Kuba Podgórski 2020-05-15 02:09:31 +02:00 committed by GitHub
commit e39334ca92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,7 +203,7 @@ func NewConfig() *Config {
// Metric config.
c.Metric.Service = "none"
c.Metric.PollInterval = toml.Duration(0 * time.Minute)
c.Metric.Diagnostics = true
c.Metric.Diagnostics = false
// Tracing config.
c.Tracing.SamplerType = "off"