https://github.com/liyuanjun/prometheus-python-tutorial
prometheus python tutorials
https://github.com/liyuanjun/prometheus-python-tutorial
prometheus prometheus-exporter prometheus-metrics push pushgateway
Last synced: 8 months ago
JSON representation
prometheus python tutorials
- Host: GitHub
- URL: https://github.com/liyuanjun/prometheus-python-tutorial
- Owner: liyuanjun
- License: mit
- Created: 2017-11-23T06:24:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-22T10:30:49.000Z (over 8 years ago)
- Last Synced: 2025-06-17T18:50:04.937Z (12 months ago)
- Topics: prometheus, prometheus-exporter, prometheus-metrics, push, pushgateway
- Language: Python
- Homepage: https://github.com/amlyj/prometheus-python-tutorial
- Size: 37.1 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prometheus tutorials for Python
* dependency package
pip install prometheus_client
pip install requests
---
## export metrics
> 暴露监控指标的多种方式
* [prometheus client http_server](./exporting/export_http.py)
* [flask](test.py)
* [wsgi](./exporting/export_wsgi.py)
## push data to pushgateway
> 推送你的监控指标到网关
* [use requests](./pushgateway/push_metrics.py)