Skip to content
Snippets Groups Projects
Commit d103937e authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

magic

parent c8bdbedb
No related branches found
No related tags found
No related merge requests found
......@@ -176,6 +176,31 @@ scrape_configs:
- target_label: __address__
replacement: 127.0.0.1:9115
{% endfor %}
- job_name: 'blackbox_http_prometheus_host'
metrics_path: /probe
scrape_interval: 15s
params:
module: [http_prometheus]
static_configs:
- targets:
{% for host in groups['geo_mirrors'] %}
- https://{{ hostvars[host]['ipv4_address'] }}
- https://[{{ hostvars[host]['ipv6_address'] }}]
{% endfor %}
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9115
- target_label: __param_hostname
replacement: geo.mirror.pkgbuild.com
- target_label: vhost
replacement: geo.mirror.pkgbuild.com
{% for endpoint in matrix_metrics_endpoints %}
- job_name: 'synapse_{{ endpoint }}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment