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 a "push-no-tls" feature, for HTTP-only push support #461

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

Conversation

BrandonY
Copy link

I've been putting together a little performance prober that uses rust-prometheus to push its results. My prober makes extensive use of some specialized native TLS libraries, and getting them to link nicely with reqwest's TLS library dependencies hasn't been working for me.

Then I realized that, by default, prometheus's pushgateway uses HTTP, so I figured that it would make sense for there to be an option for rust-prometheus's push support to not require those libraries. I've put together a new feature flag that enables push but does not require reqwest's TLS support.

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