Add speedtest exporter

This commit is contained in:
Jake Howard 2023-01-31 21:45:59 +00:00
parent 051b5b0e19
commit e4fba8208e
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 17 additions and 0 deletions

View file

@ -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

View file

@ -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