Accept protected HTTP checks in blackbox
This commit is contained in:
@@ -1,8 +1,18 @@
|
|||||||
modules:
|
modules:
|
||||||
http_2xx:
|
http_reachable:
|
||||||
prober: http
|
prober: http
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
http:
|
http:
|
||||||
|
valid_status_codes:
|
||||||
|
- 200
|
||||||
|
- 204
|
||||||
|
- 301
|
||||||
|
- 302
|
||||||
|
- 303
|
||||||
|
- 307
|
||||||
|
- 308
|
||||||
|
- 401
|
||||||
|
- 403
|
||||||
valid_http_versions:
|
valid_http_versions:
|
||||||
- HTTP/1.1
|
- HTTP/1.1
|
||||||
- HTTP/2.0
|
- HTTP/2.0
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ scrape_configs:
|
|||||||
metrics_path: /probe
|
metrics_path: /probe
|
||||||
params:
|
params:
|
||||||
module:
|
module:
|
||||||
- http_2xx
|
- http_reachable
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- https://monitoring.kaleschke.info
|
- https://monitoring.kaleschke.info
|
||||||
|
|||||||
Reference in New Issue
Block a user