Cloudflare Prometheus Exporter

Send Cloudflare traffic and security metrics to Prometheus

By Cloudflare

InstallOpens in your own Appflare
Stars
184
184 stars on the app's GitHub repository.
Installs
Under 10
Fewer than 10 Appflare users run this app, from anonymous usage data; smaller counts are not published.
Plan
Free
Runs on Cloudflare's free Workers plan.
License
MIT
An open-source license: you may use, change and share the app on its terms.
Version
0.0.1-beta.15
Version 0.0.1-beta.15.
Last tested
Oct 14
The catalog installed this version in a test account and it answered, on Oct 14, 2026.

About

Export Cloudflare analytics as Prometheus metrics: requests, bandwidth, threats, Workers, load balancers, certificates, Magic Transit and more, for every account and zone your API token can read, refreshed each minute by Durable Objects.

Features

  • Collect request counts, bandwidth and security events for Prometheus
  • Track Worker requests, errors and time spent handling them
  • Include every account and website your API token can read
  • Choose which websites and metrics to include
  • Refresh metrics automatically at an interval you choose
  • Change collection settings without reinstalling

Deploy Cloudflare Prometheus Exporter on Cloudflare

  1. Step 1: Set up Appflare in your Cloudflare account

    Once

    Appflare installs itself into your own Cloudflare account from your browser, and runs on the free Workers plan, as Cloudflare Prometheus Exporter does. See what Cloudflare Prometheus Exporter needs on your account.

  2. Step 2: Install Cloudflare Prometheus Exporter

    The install form asks you for:

    • Cloudflare API token

    Appflare generates a value for you: Prometheus password.

    It also has two optional settings you can leave for later.

    One switch on the form puts Cloudflare Prometheus Exporter behind Cloudflare Access, so only the people who use your Appflare can open it.

  3. Step 3: Finish setting it up

    After the install, Appflare shows two short steps for Cloudflare Prometheus Exporter, on its page.

With Appflare instead of by hand

  • Nothing to build on your computerAppflare sets itself up from your browser, with no API token to create and nothing to install.
  • Updates in one clickAppflare tells you when the catalog has a new version, and Update installs it.
  • Health checksAfter every install and update, Appflare checks that the app answers.
  • It stays in your own accountEverything runs on your Cloudflare account and your plan, and Appflare records what it creates, so an uninstall removes it.

What it needs on your account

  • KV storageThis app uses it
  • Durable ObjectsThis app uses it
  • A domainThis app uses it

Questions

Does Cloudflare Prometheus Exporter run on Cloudflare's free plan?

Yes. Cloudflare Prometheus Exporter runs on Cloudflare's free Workers plan, and so does Appflare.

What does Cloudflare Prometheus Exporter create in my Cloudflare account?

Appflare creates a Worker for Cloudflare Prometheus Exporter and the resources it uses: KV namespaces and Durable Object classes. It also uses a domain. Appflare records each resource it creates; an uninstall deletes them, keeping any data you choose to keep.

How do I update Cloudflare Prometheus Exporter?

When the catalog has a new version, Cloudflare Prometheus Exporter's page in Appflare says Update available. Select Update: Appflare takes a snapshot first, so you can roll back to the version before. You can also let Appflare update it automatically.

Is Cloudflare Prometheus Exporter open source?

Yes, under MIT. An open-source license: you may use, change and share the app on its terms. Its source code is at github.com/cloudflare/cloudflare-prometheus-exporter.

Links

  • Source codegithub.com/cloudflare/cloudflare-prometheus-exporter

Packaged for the catalog by MendyLanda.

Author

Categories