client_java icon indicating copy to clipboard operation
client_java copied to clipboard

PrometheusScrapeHandler compression should be configurable

Open adrian-tarau opened this issue 1 year ago • 2 comments

Currently, PrometheusScrapeHandler compresses automatically if Accept-Encoding contains gzip. Compression should not be the responsibility of request handlers but more of the responsibility of filters.

It is nice that PrometheusScrapeHandler has compression support. However, there should be a way to disable it.

adrian-tarau avatar Oct 07 '24 16:10 adrian-tarau

PR is welcome :smile:

zeitlinger avatar Oct 08 '24 06:10 zeitlinger

I'll give it a shot ...

adrian-tarau avatar Oct 08 '24 12:10 adrian-tarau