跳到正文

Cloudflare Prometheus Exporter

活跃
lablabs/cloudflare-exporter

Cloudflare 分析数据的 Prometheus 导出器:按 Zone 的流量、数据中心和 Worker 指标,附带现成的 Grafana 仪表盘、Docker 镜像和 Helm Chart。

在 GitHub 查看
星标
433
Fork
166
关注
433
未关闭 Issue
73

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

Overview

This Prometheus exporter exposes Cloudflare Analytics dashboard data on a per-zone basis, as well as Worker metrics. It can also break zone metrics down by Cloudflare colocation (data center). A public Grafana dashboard is available.

Authentication

Use a scoped API token (preferred) or a legacy API key. Zone / Analytics:Read is needed for zone metrics, and Account / Account Analytics:Read for Worker and account usage metrics.

Running it

docker run --rm -p 8080:8080 -e CF_API_TOKEN=${CF_API_TOKEN} ghcr.io/lablabs/cloudflare_exporter

Limit it to specific zones with CF_ZONES, set FREE_TIER=true for free-plan zones, or install it on Kubernetes with the Helm chart.

按共同分类和标签排序的同类开源项目。

全部监控项目 →