blackbox addition
This commit is contained in:
parent
cce9363964
commit
28b2718359
2 changed files with 25 additions and 2 deletions
|
@ -28,4 +28,21 @@ scrape_configs:
|
|||
|
||||
- job_name: node
|
||||
static_configs:
|
||||
- targets: ['docker.host:9100']
|
||||
- targets: ['docker.host:9100']
|
||||
|
||||
- job_name: 'blackbox'
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [http_2xx] # Look for a HTTP 200 response.
|
||||
static_configs:
|
||||
- targets:
|
||||
- https://faulty.nl
|
||||
- https://home.famslof.nl
|
||||
- https://hetzner.de
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: prom-blackbox:9115 # The blackbox exporter's real hostname:port.
|
Reference in a new issue