summaryrefslogtreecommitdiff
path: root/idvoc-2025/metrics/prometheus.yml
blob: 27def20603a1da6a3e12bc96b202bd6f91ca805d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
global:
  scrape_interval: 5s # Set the scrape interval to every 15 seconds. Default is every 1 minute.

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  - job_name: "prometheus"

    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.

    static_configs:
      - targets: ["localhost:9090"]

  # FIXME Expand scrape_configs here