Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

always Zlib::Deflate the body, set the content-encoding to deflate #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nessur
Copy link

@nessur nessur commented Sep 19, 2017

the NewRelic API spec says that it supports deflate compression.

This change uses the Ruby CoreLib Zlib::Deflate to compress the body, and sets Content-Encoding=deflate

@nessur
Copy link
Author

nessur commented Sep 19, 2017

We're collecting so much data from the https://github.com/pivotalsoftware/newrelic_pivotal_agent, from a very busy RabbitMQ cluster, that we need to compress the stats before they're posted to NewRelic, to stay under the 1MB POST limit.

@nessur
Copy link
Author

nessur commented Feb 27, 2020

signed the CLA page! thanks

@CLAassistant
Copy link

CLA assistant check
All committers have signed the CLA.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants