ceph_exporter/examples/prometheus.yml
2017-05-01 16:35:28 -07:00

16 lines
428 B
YAML

# prometheus.yml
# Place in same directory as docker-compose.yml and replace $DOCKERHOST with your desired host IP where ceph_exporter is running
global:
scrape_interval: 5s
external_labels:
monitor: my-monitor
scrape_configs:
- job_name: prometheus
static_configs:
- targets: ['localhost:9090']
- job_name: ceph-exporter
static_configs:
- targets: ['$DOCKERHOST:9128']