summaryrefslogtreecommitdiff
path: root/playbooks/roles/mon/templates/volumes/prometheus/config.yml
blob: be59f7f7656777a74d83cf93306d985196642a8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
global:
  scrape_interval: 20s

scrape_configs:
 - job_name: prometheus
   static_configs:
    - targets:
       - mon_prometheus:9090

 - job_name: gatus
   static_configs:
    - targets:
       - mon_mon:8080

 - job_name: oauth-proxy
   static_configs:
    - targets:
       - traefik_oauth2-proxy:5577

 - job_name: traefik
   static_configs:
    - targets:
       - traefik_traefik:5577

 - job_name: headscale
   static_configs:
    - targets:
       - "{{ headscale_host }}:443"
   basic_auth:
    username: '{{ metrics_htpasswd_user }}'
    password: '{{ metrics_htpasswd_passwd }}'

 - job_name: outbound
   static_configs:
    - targets:
       - "{{ outbound_domain }}:443"
   basic_auth:
    username: '{{ metrics_htpasswd_user }}'
    password: '{{ metrics_htpasswd_passwd }}'