diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-08-11 18:39:55 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-08-11 18:39:55 -0700 |
commit | 08e92ca3b8ee6c38c3e19126378e51b46cf63b16 (patch) | |
tree | 6e9c0e0f394d645cea4208bcfab7e1d98d329e0e /playbooks/roles/mon/templates/volumes/prometheus/config.yml | |
parent | 4f90a2fc5fd134b27c2f0e32a5f1192003d3f0cf (diff) | |
download | infra-08e92ca3b8ee6c38c3e19126378e51b46cf63b16.tar.gz infra-08e92ca3b8ee6c38c3e19126378e51b46cf63b16.zip |
Oauth proxy and monitoring init
Diffstat (limited to 'playbooks/roles/mon/templates/volumes/prometheus/config.yml')
-rw-r--r-- | playbooks/roles/mon/templates/volumes/prometheus/config.yml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/playbooks/roles/mon/templates/volumes/prometheus/config.yml b/playbooks/roles/mon/templates/volumes/prometheus/config.yml new file mode 100644 index 0000000..be59f7f --- /dev/null +++ b/playbooks/roles/mon/templates/volumes/prometheus/config.yml @@ -0,0 +1,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 }}' |