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

Added "domain" label to bb prometheus config.

parent c3ed0624
......@@ -60,6 +60,14 @@ scrape_configs:
- target_label: __address__
replacement: bbexp:9115 # The blackbox exporter's real hostname:port.
metric_relabel_configs:
- source_labels: [instance]
regex: '.*?[.](.*)'
replacement: '$1'
target_label: domain
- source_labels: [domain]
regex: '^$'
replacement: 'jaytaala.com'
target_label: domain
- source_labels: [instance]
regex: '.*/(.+?)[:.].*'
replacement: '$1'
......
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