Skip to content

Allow gzip compression in exporter#176

Open
gdaszuta wants to merge 1 commit intoevanderkoogh:mainfrom
gdaszuta:allow-gzip-compression
Open

Allow gzip compression in exporter#176
gdaszuta wants to merge 1 commit intoevanderkoogh:mainfrom
gdaszuta:allow-gzip-compression

Conversation

@gdaszuta
Copy link
Contributor

Uncompressed requests can be quite hefty, and as far as I understand, there is no simple way to make Cloudflare fetch() to auto-negotiate body compression with collector.

After this change, in my simple test case, request size was reduced by roughly 65% as reported by collector ingress.

Only drawback is required change in compatibility_flags.

@gdaszuta gdaszuta force-pushed the allow-gzip-compression branch from 806385f to 4334eda Compare April 18, 2025 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant