]> git.proxmox.com Git - ceph.git/blob - ceph/examples/lua/config/prometheus.yml
import quincy beta 17.1.0
[ceph.git] / ceph / examples / lua / config / prometheus.yml
1 global:
2 scrape_interval: 2s # By default, scrape targets every 15 seconds.
3
4 # Attach these labels to any time series or alerts when communicating with
5 # external systems (federation, remote storage, Alertmanager).
6 external_labels:
7 monitor: 'codelab-monitor'
8
9 # A scrape configuration containing exactly one endpoint to scrape:
10 # Here it's Prometheus itself.
11 scrape_configs:
12 # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
13 - job_name: 'rgw'
14
15 # Override the global default and scrape targets from this job every 5 seconds.
16 scrape_interval: 1s
17
18 static_configs:
19 - targets: ['127.0.0.1:9091']