Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
docker
Docker Compose Prometheus and Grafana
Commits
e5a337ba
Commit
e5a337ba
authored
Jul 13, 2020
by
Jay Ta'ala
Browse files
Added "domain" label to bb prometheus config.
parent
c3ed0624
Changes
1
Hide whitespace changes
Inline
Side-by-side
prometheus.yml
View file @
e5a337ba
...
...
@@ -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'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment