Pushing metrics
优质
小牛编辑
139浏览
2023-12-01
Occasionally you will need to monitor components which cannot be scraped. The Prometheus Pushgateway allows you to push time series from short-lived service-level batch jobs to an intermediary job which Prometheus can scrape. Combined with Prometheus's simple text-based exposition format, this makes it easy to instrument even shell scripts without a client library.
For more information on using the Pushgateway and use from a Unix shell, see the project's README.md.
For use from Java see the PushGateway class.
For use from Python see Exporting to a Pushgateway.
For use from Ruby see the Pushgateway documentation.
- To find out about Pushgateway support of client libraries maintained outside of the Prometheus project, refer to their respective documentation.
This documentation is open-source. Please help improve it by filing issues or pull requests.