Skip to main content
APA
Sponsored byCAST AI — Kubernetes cost optimizationBetter Stack — Uptime monitoring and log managementVictoriaMetrics — Fast, open-source time series database and drop-in Prometheus replacement.

SpeedTest logoSpeedTest 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.

⚠️

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

9.1.SpeedTest logoSpeedtest 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.

  # 100 Mbps threshold is a rough default; adjust to match the speed your ISP plan actually promises.
- 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.

  # 20 Mbps threshold is a rough default; adjust to match the upload speed your ISP plan actually promises.
- 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 }}"

Share your alerting rules

Your production alerts can make this collection better. Share your rule files in one command: only Prometheus rule files and PrometheusRule resources are uploaded, while prometheus.yml, alertmanager.yml and other configurations are skipped, as they often contain credentials.

npx awesome-prometheus-alerts share /etc/prometheus/rules

Add --dry-run to preview what would be sent.