micrometer-metrics/micrometer

Add config option to compress Datadog payload

Open

#2,297 opened on Oct 15, 2020

View on GitHub
 (13 comments) (0 reactions) (0 assignees)Java (935 forks)batch import
enhancementhelp wantedregistry: datadogrelease notes

Repository metrics

Stars
 (4,220 stars)
PR merge metrics
 (Avg merge 1d 21h) (100 merged PRs in 30d)

Description

Compression cannot be enabled with DatadogConfig right now, but we do have the compress method on our abstract Request.Builder for HttpSender. Enabling compression by default seems reasonable and would help avoid the issue of going over the max payload size as mentioned in #1500.

Originally posted by @shakuzen in https://github.com/micrometer-metrics/micrometer/issue_comments/705314786

Contributor guide