# Managed by Ansible global: evaluation_interval: 1m scrape_interval: 1m external_labels: environment: monitoring rule_files: - /etc/prometheus/rules/*.rules scrape_configs: - job_name: "prometheus" metrics_path: "/prometheus/metrics" static_configs: - targets: [ "localhost:9090" ] {{ prometheus_scrape_configs | to_nice_yaml | indent(2) }}