Add speedtest exporter
This commit is contained in:
parent
051b5b0e19
commit
e4fba8208e
2 changed files with 17 additions and 0 deletions
|
@ -48,6 +48,11 @@ services:
|
||||||
- PVE_TOKEN_VALUE={{ prometheus_api_token }}
|
- PVE_TOKEN_VALUE={{ prometheus_api_token }}
|
||||||
- PVE_VERIFY_SSL=false
|
- PVE_VERIFY_SSL=false
|
||||||
|
|
||||||
|
speedtest_exporter:
|
||||||
|
image: jraviles/prometheus_speedtest:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
user: "{{ docker_user.id }}"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
grafana:
|
grafana:
|
||||||
external: true
|
external: true
|
||||||
|
|
|
@ -134,3 +134,15 @@ scrape_configs:
|
||||||
- source_labels: [__name__]
|
- source_labels: [__name__]
|
||||||
regex: go_.+
|
regex: go_.+
|
||||||
action: drop
|
action: drop
|
||||||
|
|
||||||
|
- job_name: speedtest
|
||||||
|
scrape_interval: 10m
|
||||||
|
scrape_timeout: 2m
|
||||||
|
metrics_path: /probe
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- speedtest_exporter:9516
|
||||||
|
metric_relabel_configs:
|
||||||
|
- source_labels: [__name__]
|
||||||
|
target_label: __name__
|
||||||
|
replacement: speedtest_$1
|
||||||
|
|
Loading…
Reference in a new issue