infrastructure/ansible/roles/forrest/files/prometheus/blackbox.yml
Jake Howard bb4361e25f
Use a blackbox with custom DNS rather than proxy
This makes timing information more relevant and should improve reliability
2022-12-06 10:04:23 +00:00

17 lines
318 B
YAML

modules:
http:
prober: http
timeout: 10s
https_redir:
prober: http
timeout: 10s
http:
method: GET
valid_status_codes: [301, 302, 307, 308]
no_follow_redirects: true
fail_if_ssl: true
fail_if_header_not_matches:
- header: Location
regexp: ^https