-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[confighttp] Support snappy and zstd compression on the server side #7632
Comments
Please take a look at #7636 |
Ideally we also want a compression method negotiation added to OTLP spec so that we can have an "auto" setting. |
How would that work? Would you use a similar mechanism as Accept-Encoding? https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding |
Yes, with 2-step negotiation for the server's accepting side. The initial client request should be in old encoding until it gets a response from the server about acceptance of the new encoding. Client should also be ready to go back (can happen in load-balanced deployments, mid new version rollout). |
That sounds like it warrants its own issue. I will create one and link it here. |
|
Seeking authorization to commit for the linux foundation, but in the meantime this WIP handles the snappy compression, supporting a Prometheus remote write endpoint using the confighttp core lib. |
Adding a feature. This adds `snappy` support for the confighttp compression package. This provides support for enabling the prometheus remote write receiver which only supports snappy. #7632 Added unit test coverage and testing integration with prometheus remote write compatibility. --------- Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
Looks like this can be closed with #8983. |
We should support the same compression methods on the client and server sides of confighttp. Right now we have:
gzip
,zlib
,deflate
,zstd
,snappy
gzip
,zlib
,deflate
If there isn't a good reason we don't support zstd and snappy on the server side, then I can work on adding them.
The text was updated successfully, but these errors were encountered: