Skip to content
ArticleIntermediate

Monitor Cloudflare Tunnel with Grafana

Monitor Cloudflare Tunnel with Grafana: expose cloudflared's metrics endpoint, scrape it with Prometheus and build a dashboard.

Last updated
Apr 17, 2026
Read the original

cloudflared can’t push metrics to Grafana directly. Instead it exposes a Prometheus metrics endpoint, a Prometheus server scrapes it, and Grafana uses Prometheus as a data source for your tunnel dashboard.

What you’ll learn

  • Create the cloudflared metrics endpoint
  • Set up Prometheus
  • Connect Grafana to Prometheus
  • Build a Grafana dashboard

Cloudflare products used

Cloudflare Tunnel.

Follow the full, step-by-step tutorial in Cloudflare’s documentation.

Keep learning