fluent / fluent-plugin-prometheus

A fluent plugin that collects metrics and exposes for Prometheus.
Apache License 2.0
257 stars 80 forks source link

Option to serve compressed responses #219

Closed Lusitaniae closed 1 month ago

Lusitaniae commented 9 months ago

I'm currently using fluentd to generate a giant amount of metrics which have already passed 50Mb response sizes in some of our nodes

I can bump limits and timeouts on the scraping side of things, but compressing the response would probably be very useful here!

$ curl -s http://node1:9106/metrics | wc -c
37420840
$ curl -s http://node1:9106/metrics | gzip -c | wc -c
1877477
Athishpranav2003 commented 1 month ago

@Lusitaniae can you check this

Athishpranav2003 commented 1 month ago

@Lusitaniae can you close this issue?

ashie commented 1 month ago

Fixed via #223

ashie commented 1 month ago

I've released v2.2.0 that supports gzip.