{"id":18521548,"url":"https://github.com/transferwise/cloudflare-prometheus-exporter","last_synced_at":"2025-04-09T09:33:15.991Z","repository":{"id":38375426,"uuid":"393341349","full_name":"transferwise/cloudflare-prometheus-exporter","owner":"transferwise","description":"Prometheus exporter powered by Cloudflare GraphQL API.","archived":false,"fork":false,"pushed_at":"2025-03-20T14:27:12.000Z","size":2012,"stargazers_count":11,"open_issues_count":7,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-20T15:22:17.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/transferwise.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-06T10:25:25.000Z","updated_at":"2025-03-20T14:25:13.000Z","dependencies_parsed_at":"2024-07-08T11:46:22.219Z","dependency_job_id":"2cda0ace-f55f-45c1-a234-460eb2effde4","html_url":"https://github.com/transferwise/cloudflare-prometheus-exporter","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.3571428571428571,"last_synced_commit":"7413b319bd5914d6db57b6b33994ff8bbe2bc1d6"},"previous_names":["transferwise/cloudflare-exporter"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transferwise%2Fcloudflare-prometheus-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transferwise%2Fcloudflare-prometheus-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transferwise%2Fcloudflare-prometheus-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transferwise%2Fcloudflare-prometheus-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transferwise","download_url":"https://codeload.github.com/transferwise/cloudflare-prometheus-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248012836,"owners_count":21033249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T17:26:27.890Z","updated_at":"2025-04-09T09:33:14.142Z","avatar_url":"https://github.com/transferwise.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus Cloudflare Exporter\n\nPrometheus exporter powered by Cloudflare GraphQL API.\n\n\u003cp align=\"left\"\u003e\n\u003ca href=\"https://github.com/transferwise/cloudflare-prometheus-exporter/actions\"\u003e\u003cimg alt=\"Actions Status\" src=\"https://github.com/transferwise/cloudflare-prometheus-exporter/workflows/Build \u0026 Test/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/transferwise/cloudflare-prometheus-exporter/actions\"\u003e\u003cimg alt=\"Actions Status\" src=\"https://github.com/transferwise/cloudflare-prometheus-exporter/workflows/CodeQL/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Quickstart\n\nExamples:\n\n    $ export CLOUDFLARE_TOKEN='Bearer fbfa1860-410f-45d5-a9d6-c9af96cbd7d2'\n    $ mkdir playground\n    $ cp example.config.yaml playground/\n    # fill in the zones info in playground/example.config.yaml\n    $ cfexpose export playground/example.config.yaml\n\n## Example Dashboards\n![Grafana 1](static/images/dashboard_1.png?raw=true \"Grafana 1\")\n![Grafana 2](static/images/dashboard_2.png?raw=true \"Grafana 2\")\n\n# Configuration options\n\nRequired environment variables:\n* CLOUDFLARE_TOKEN\n* CLOUDFLARE_ACCOUNT_TAG\n\nOptional environment variables:\n* EXPORTER_PORT\n\nRequired permissions for the token:\n\n![Analytics](static/images/APIKey.png?raw=true \"Analytics: Read\")\n\n# Limits\n\nFor up-to-date information, please refer Cloudflare [documentation](https://developers.cloudflare.com/analytics/graphql-api/limits) on APL limits.\n\nGraphQL API access restrictions by license:\n\n    free:\n      zones:\n        browserPerf1mGroups\n        firewallEventsAdaptive\n        firewallEventsAdaptiveByTimeGroups\n      accounts/zones:\n        httpRequests1hGroups\n        httpRequests1dGroups\n    pro:\n      firewallEventsAdaptiveGroups\n      healthCheckEvents\n      healthCheckEventsGroups\n      httpRequests1mGroups\n      loadBalancingRequests\n      loadBalancingRequestsGroups\n    business:\n      -\n    enterprise:\n      firewallRulePreviewGroups\n      httpRequests1mByColoGroups\n      httpRequests1dByColoGroups\n      synAvgPps1mGroups\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransferwise%2Fcloudflare-prometheus-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransferwise%2Fcloudflare-prometheus-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransferwise%2Fcloudflare-prometheus-exporter/lists"}