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
3bae2648
Commit
3bae2648
authored
Jul 04, 2020
by
Jay Ta'ala
Browse files
Some tweaks, set scrape interval to 20s and removed deprecated unswcanberraspace.com endpoints.
parent
f9805bca
Changes
2
Hide whitespace changes
Inline
Side-by-side
blackbox-exporter.yml
View file @
3bae2648
...
@@ -2,7 +2,8 @@ modules:
...
@@ -2,7 +2,8 @@ modules:
http_2xx
:
http_2xx
:
prober
:
http
prober
:
http
http
:
http
:
preferred_ip_protocol
:
"
ip4"
preferred_ip_protocol
:
"
ip4"
method
:
GET
http_post_2xx
:
http_post_2xx
:
prober
:
http
prober
:
http
http
:
http
:
...
...
prometheus.yml
View file @
3bae2648
...
@@ -34,6 +34,7 @@ scrape_configs:
...
@@ -34,6 +34,7 @@ scrape_configs:
-
targets
:
[
'
10.0.0.137:10091'
]
-
targets
:
[
'
10.0.0.137:10091'
]
-
job_name
:
'
blackbox'
-
job_name
:
'
blackbox'
scrape_interval
:
20s
metrics_path
:
/probe
metrics_path
:
/probe
params
:
params
:
module
:
[
http_2xx
]
# Look for a HTTP 200 response.
module
:
[
http_2xx
]
# Look for a HTTP 200 response.
...
@@ -51,8 +52,6 @@ scrape_configs:
...
@@ -51,8 +52,6 @@ scrape_configs:
-
https://bitbucket.unswcanberraspace.com
-
https://bitbucket.unswcanberraspace.com
-
https://jira.unswcanberraspace.com
-
https://jira.unswcanberraspace.com
-
https://crowd.unswcanberraspace.com
-
https://crowd.unswcanberraspace.com
-
https://rcode.unswcanberraspace.com
-
https://survey.unswcanberraspace.com
relabel_configs
:
relabel_configs
:
-
source_labels
:
[
__address__
]
-
source_labels
:
[
__address__
]
target_label
:
__param_target
target_label
:
__param_target
...
...
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