Skip to main content
APA
Sponsored by CAST AI — Kubernetes cost optimization Better Stack — Uptime monitoring and log management
⚠️

Alert thresholds depend on the nature of your applications. Some queries may have arbitrary tolerance thresholds. Building an efficient monitoring platform takes time. 😉

SpeedTest Prometheus Alert Rules

2 Prometheus alerting rules for SpeedTest. Exported via Speedtest exporter. These rules cover critical and warning conditions — copy and paste the YAML into your Prometheus configuration.

9.1. Speedtest exporter (2 rules)

wget https://raw.githubusercontent.com/samber/awesome-prometheus-alerts/refs/heads/master/dist/rules/speedtest/nlamirault-speedtest-exporter.yml
warning

9.1.1. SpeedTest Slow Internet Download

Internet download speed is currently {{humanize $value}} Mbps.

- alert: SpeedTestSlowInternetDownload
  expr: avg_over_time(speedtest_download[10m]) < 100
  for: 0m
  labels:
    severity: warning
  annotations:
    summary: SpeedTest Slow Internet Download (instance {{ $labels.instance }})
    description: "Internet download speed is currently {{humanize $value}} Mbps.\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"
warning

9.1.2. SpeedTest Slow Internet Upload

Internet upload speed is currently {{humanize $value}} Mbps.

- alert: SpeedTestSlowInternetUpload
  expr: avg_over_time(speedtest_upload[10m]) < 20
  for: 0m
  labels:
    severity: warning
  annotations:
    summary: SpeedTest Slow Internet Upload (instance {{ $labels.instance }})
    description: "Internet upload speed is currently {{humanize $value}} Mbps.\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"