Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add compression when posting metrics to dd #358

Merged
merged 3 commits into from
Apr 27, 2023

Conversation

robpickerill
Copy link
Contributor

Adds gzip compression when posting metrics to Datadog.

@robpickerill
Copy link
Contributor Author

I think adding a configuration option for compression maybe the best way to go here, will rework the PR to support that.

@robpickerill robpickerill force-pushed the datadog_compress branch 2 times, most recently from 232a7cd to a43e4d3 Compare April 24, 2023 19:30
Copy link
Contributor

@manugarg manugarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just one minor suggestion.

surfacers/datadog/proto/config.proto Outdated Show resolved Hide resolved
surfacers/datadog/client.go Show resolved Hide resolved
@robpickerill
Copy link
Contributor Author

I was also thinking about adding a minimum size for compression, like 1kb or 2kb, let me know if you think that would be preferable here.

Copy link
Contributor

@manugarg manugarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Rob!

surfacers/datadog/client.go Show resolved Hide resolved
@manugarg manugarg merged commit 6da12d4 into cloudprober:master Apr 27, 2023
@robpickerill robpickerill deleted the datadog_compress branch April 28, 2023 08:47
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.

None yet

2 participants