aports/config/prometheus/config.yaml

21 lines
694 B
YAML

global:
scrape_interval: 5s
scrape_configs:
- job_name: "linux"
dns_sd_configs:
- names: [ 'node_exporters.prometheus.routinginfo.internal' ]
type: 'SRV'
- job_name: "haproxy"
dns_sd_configs:
- names: [ 'frontends.prometheus.routinginfo.internal' ]
type: 'SRV'
- job_name: "postgresql"
dns_sd_configs:
- names: [ 'postgresql.prometheus.routinginfo.internal' ]
type: 'SRV'
- job_name: "unbound"
dns_sd_configs:
- names: [ 'unbound.prometheus.routinginfo.internal' ]
type: 'SRV'