Pushing metrics
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.
当前内容版权归 Prometheus 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Prometheus .