Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 2.82 KB

File metadata and controls

35 lines (22 loc) · 2.82 KB

Prometheus

After each test, Speedtest Tracker exposes the metrics for Prometheus to scrape. For long term storage or custom visualizations.

Allowed IPs

You can configure the Prometheus endpoint so it’s only accessible from specific IP addresses or networks. This can include single IPs or entire CIDR ranges.

Grafana Dashboard

You can use this community made Grafana Dashboard to visualize your data.

{% embed url="https://github.com/CrazyWolf13/Speedtest-Tracker-Prometheus" %}

Data pattern

Speedtest Tracker exports data in two categories: labels and metrics. Labels are used for filtering, while metrics are used for displaying data.

Name
app_namelabel
isplabel
server_idlabel
server_namelabel
server_countrylabel
server_locationlabel
healthylabel
statuslabel
scheduledlabel
download_bytesMetric
upload_bytesMetric
pingMetric
download_bitsMetric
upload_bitsMetric
download_jitterMetric
upload_jitterMetric
ping_jitterMetric
download_latency_avgMetric
download_latency_highMetric
download_latency_lowMetric
upload_latency_avgMetric
upload_latency_highMetric
upload_latency_lowMetric
packet_lossMetric

Prometheus Scrape Config

Below is an example Prometheus scrape configuration:

scrape_configs:
  - job_name: 'speedtest-tracker'
    scrape_interval: 60s # Adjust to your set schedule
    scrape_timeout: 10s
    metrics_path: /prometheus
    static_configs:
      - targets: ['speedtest-tracker.local']