Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
- rule_files:
- # - "first.rules"
- # - "second.rules"
- scrape_configs:
- - job_name: node
- static_configs:
- - targets: ['localhost:9100']
- - job_name: prometheus
- static_configs:
- - targets: ['localhost:9090']
- - job_name: 'nomad_metrics'
- consul_sd_configs:
- - server: 'localhost:8500'
- services: ['nomad-client', 'nomad']
- relabel_configs:
- - source_labels: ['__meta_consul_tags']
- regex: '(.*)http(.*)'
- action: keep
- scrape_interval: 5s
- metrics_path: /v1/metrics
- params:
- format: ['prometheus']
- - job_name: redis_exporter
- static_configs:
- - targets: ['localhost:9121']
- - job_name: haproxy_exporter
- consul_sd_configs:
- - server: 'localhost:8500'
- services: ['gateway-gateway-haproxy-exporter']
- scrape_interval: 5s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement