- Run all in Docker, orchestrated by Compose
- Prometheus
- Upstream
Dockerfile - Configuration in
./prometheus- Listens on default port
9090 - Rules:
- Recording in
./prometheus/rules/recording/*.rules.yml - Alerting in
./prometheus/rules/alerting/*.rules.yml
- Recording in
- Scrape configs:
- Prometheus statically defined in
scrape_configs- Self scraping
- Blackbox:
http_200on/-/ready/prom_instant_queryon dummyquery=1
- Other static targets defined in in
./prometheus/scrape_configs/*.scrape.yml- Prometheus demo service instances
- Docker (on host)
- Node
- Prometheus statically defined in
- Listens on default port
- Data in
data/prometheus
Must bechmod ugo+rwXbecause Prometheus runs asnobody:nogroup
- Upstream
- Prometheus demo service
Generates demo metrics
3 instances - Prometheus Blackbox exporter
- Modules:
http_200: checks readyness of an HTTP targetprom_instant_query: checksstatus: successpresent in JSON reply
- Checks Prometheus readyness and basic query success
- Modules:
- Grafana
- Configuration in
./grafana- Listens on default port
3000 - Default user/pwd
admin/admin
- Listens on default port
- Data in
data/grafanaMust bechmod ugo+rwXbecause Prometheus runs asgrafanauser (472)
- Configuration in