Skip to content

Commit

Permalink
Explicitly enable compression for native metric APIs
Browse files Browse the repository at this point in the history
Fixes #6944
  • Loading branch information
songy23 committed Dec 16, 2022
1 parent 76f3631 commit 74d8bb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/datadogexporter/internal/clientutil/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func CreateAPIClient(buildInfo component.BuildInfo, endpoint string, settings ex
configuration := datadog.NewConfiguration()
configuration.UserAgent = UserAgent(buildInfo)
configuration.HTTPClient = NewHTTPClient(settings, insecureSkipVerify)
configuration.Compress = true
if endpoint != "" {
configuration.Servers = datadog.ServerConfigurations{
{
Expand Down

0 comments on commit 74d8bb9

Please sign in to comment.