Commit c3ed0624 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Added "shortname" label. Set scrape for bb to 15s.

parent 06039730
......@@ -34,7 +34,7 @@ scrape_configs:
- targets: ['10.0.0.137:10091']
- job_name: 'blackbox'
scrape_interval: 20s
scrape_interval: 15s
metrics_path: /probe
params:
module: [http_2xx] # Look for a HTTP 200 response.
......@@ -59,3 +59,8 @@ scrape_configs:
target_label: instance
- target_label: __address__
replacement: bbexp:9115 # The blackbox exporter's real hostname:port.
metric_relabel_configs:
- source_labels: [instance]
regex: '.*/(.+?)[:.].*'
replacement: '$1'
target_label: shortname
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment