{"repo":"maoertel/prometheus-push","free":true,"listed":false,"github":"https://github.com/maoertel/prometheus-push","clone":"git clone https://github.com/maoertel/prometheus-push.git","description":"Extension for prometheus crates to push to a push-gateway","language":"Rust","stars":14,"topics":["metrics","prometheus","pushgateway"],"license":"MIT","category":"analytics","readme_excerpt":"Prometheus Push :arrow double up: prometheus push works as an extension to prometheus crates like prometheus or prometheus-client to be able to push non-blocking (default) or blocking to your Prometheus pushgateway with a less dependent setup of reqwest (no openssl for example) or with an implementation of your own http client or even another prometheus crate – this whole crate is completely generic so you are free to do whatever you want. If you wanna use it with reqwest , prometheus or prometheus-client crates you literally do not have to implement anything (see scenarios below), as those common usages are already implemented as features within this crate. In this crates stripped version you have to implement the Push trait (see here) to use it with your choice of http client or –as said– you can use the with reqwest or with reqwest blocking features. These features already implement Push in a PushClient that leverages reqwest under the hood. Reqwest is set up without default features (minimal set) in this case so it should not interfere with your own applications reqwest setup (e.g. rust-tls ). Async functionality (feature non blocking ) is considered the standard in this crate but you can enable the blocking feature to get the implementation without async. You can enable the corresponding blocking reqwest implementation with the with reqwest blocking feature in which case you enable the blocking feature of the reqwest crate. In terms of the underlying prometheus functiona","default_branch":null,"files":null,"tree":[],"storefront":"/r/maoertel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/maoertel/prometheus-push/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}