1. 6

A couple months back I wrote cloudflare_exporter but I made the huge mistake of using the soon-to-be-deprecated Cloudflare Zone Analytics API.

On March 1st 2021, Cloudflare deprecated that API in favor of their new GraphQL Analytics API and permanently disabled the old one, breaking cloudflare_exporter.

That forced me to learn GraphQL. I wrote go-graphql, and graphql_exporter on top of it.

Fortunately, graphql_exporter covers a much wider set of necessities, as you can use it for any GraphQL API you have. It works in a similar fashion to blackbox_exporter. For the particular use case of Cloudflare Analytics, read examples/cloudflare_analytics_api.md.

  1.  

  2. 2

    Thanks for the library and the exporter :-)

    1. 1

      Thank you! Feel free to drop feedback on issues!