micrometer-metrics/micrometer

Add config option to compress Datadog payload

Closed

#2,297 opened on Oct 15, 2020

 (13 comments) (0 reactions) (0 assignees)Java (1,131 forks)batch import
enhancementhelp wantedregistry: datadogrelease notes

Repository metrics

Stars
 (4,882 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