The files copied to /srv/stacks/<stack>/ verbatim: compose files, vhosts, Prometheus configuration, the webapp image source. Payloads are data, never templated and never linted as Ansible content. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
16 lines
417 B
YAML
16 lines
417 B
YAML
# Bind-mounted read-only into the prometheus container. Prometheus re-reads it on
|
|
# SIGHUP, so metrics.yml reloads the container when this file changes rather than
|
|
# recreating it.
|
|
global:
|
|
scrape_interval: 30s
|
|
evaluation_interval: 30s
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets: ["localhost:9090"]
|
|
|
|
- job_name: node
|
|
static_configs:
|
|
- targets: ["node-exporter:9100"]
|