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.