docker/prometheus/prometheus.yml
global:
scrape_interval: 15s
evaluation_interval: 15s
# Load and evaluate rules in this file every 'evaluation_interval' seconds.
rule_files:
- "alert.rules"
# A scrape configuration containing exactly one endpoint to scrape.
scrape_configs:
- job_name: "xyo"
scrape_interval: 10s
static_configs:
- targets: ["host.docker.internal:8080"]