Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/machinecyc/prometheus-demo
https://github.com/machinecyc/prometheus-demo
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/machinecyc/prometheus-demo
- Owner: machineCYC
- Created: 2024-03-02T01:27:58.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-03T09:03:49.000Z (8 months ago)
- Last Synced: 2024-03-04T06:22:14.560Z (8 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prometheus-demo
## setup python env
- poetry install## build api image
- make build-api-image## run api, promethus and grafana
- make run-api-server## shut down api, promethus and grafana
- make down-api-server## service url
- api: http://127.0.0.1:8000/docs#
- promethus: http://127.0.0.1:9090/graph
- promethus metrics: http://127.0.0.1:9090/metrics
- grafana: http://127.0.0.1:3000/dashboards
- cadvisor: http://localhost:8080/containers/## Reference
- [cadvisor-metrics-for-prometheus](https://www.metricfire.com/blog/top-10-cadvisor-metrics-for-prometheus/)