prometheus
Installation
SKILL.md
Identity
- Binary:
prometheus - Unit:
prometheus.service - Config:
/etc/prometheus/prometheus.yml - Rules dir:
/etc/prometheus/rules/(glob-referenced from prometheus.yml) - Data dir:
/var/lib/prometheus/ - Logs:
journalctl -u prometheus - Web UI + API: port 9090
- Alertmanager: port 9093
- Distro install:
apt install prometheus/dnf install prometheus(or binary from prometheus.io)
Key Operations
| Operation | Command |
|---|---|
| Status | systemctl status prometheus |
| Check config syntax | promtool check config /etc/prometheus/prometheus.yml |
| Check alerting/recording rules | promtool check rules /etc/prometheus/rules/*.yml |
| Reload config (no restart) | curl -X POST http://localhost:9090/-/reload or sudo systemctl reload prometheus |
Related skills