跳到正文
文章中级

用 Grafana 监控 Cloudflare Tunnel

用 Grafana 监控 Cloudflare Tunnel:开启 cloudflared 的指标端点,由 Prometheus 抓取并搭建仪表盘。

最近更新
2026年4月17日
阅读原文

该介绍目前仅提供英文版本。

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.

继续学习