Skip to content

Commit

Permalink
Disable Queue and Retry settings (#72)
Browse files Browse the repository at this point in the history
These are handled by the statsd package.
OpenTelemetry docs are confusing and the default configuration (disabled)
is different from the one returned by "GetDefault..." functions
  • Loading branch information
mx-psi authored Sep 2, 2020
1 parent a660b56 commit c366603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporter/datadogexporter/dogstatsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ func (exp *dogStatsDExporter) GetConfig() *Config {
}

func (exp *dogStatsDExporter) GetQueueSettings() exporterhelper.QueueSettings {
return exporterhelper.CreateDefaultQueueSettings()
return exporterhelper.QueueSettings{Enabled: false}
}

func (exp *dogStatsDExporter) GetRetrySettings() exporterhelper.RetrySettings {
return exporterhelper.CreateDefaultRetrySettings()
return exporterhelper.RetrySettings{Enabled: false}
}

0 comments on commit c366603

Please sign in to comment.