この紹介文は現在英語版のみです。
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.