{"id":18877568,"url":"https://github.com/nftstorage/cloudflare-analytics-prometheus-exporter","last_synced_at":"2025-10-11T02:36:49.995Z","repository":{"id":42624087,"uuid":"475820357","full_name":"nftstorage/cloudflare-analytics-prometheus-exporter","owner":"nftstorage","description":"***Notice: This repository is no longer maintained.***Cloudflare analytics prometheus exporter","archived":false,"fork":false,"pushed_at":"2022-08-04T14:30:54.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-31T04:34:47.350Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/nftstorage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-30T10:03:02.000Z","updated_at":"2024-07-03T04:56:51.000Z","dependencies_parsed_at":"2022-09-21T21:53:25.398Z","dependency_job_id":null,"html_url":"https://github.com/nftstorage/cloudflare-analytics-prometheus-exporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nftstorage/cloudflare-analytics-prometheus-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nftstorage%2Fcloudflare-analytics-prometheus-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nftstorage%2Fcloudflare-analytics-prometheus-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nftstorage%2Fcloudflare-analytics-prometheus-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nftstorage%2Fcloudflare-analytics-prometheus-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nftstorage","download_url":"https://codeload.github.com/nftstorage/cloudflare-analytics-prometheus-exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nftstorage%2Fcloudflare-analytics-prometheus-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005942,"owners_count":26083999,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08T06:20:03.196Z","updated_at":"2025-10-11T02:36:49.946Z","avatar_url":"https://github.com/nftstorage.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloudflare-analytics-prometheus-exporter\n\nA tool to gather Cloudflare analytics from its GraphQL API and serve it in Prometheus format on `/metrics`.\n\n## Usage\n\nDrop a .env file in the project root and populate:\n\n```sh\nCF_API_TOKEN=\u003cvalue\u003e\nCF_AUTH_EMAIL=\u003cvalue\u003e\nCF_ZONE_ID=\u003cvalue\u003e\nPROM_NAMESPACE=\"nftlinkcf\"\n```\n\nReplace the following values as specified:\n\n* `CF_API_TOKEN` with a CF API Token with access for the Zone ID you want to export metrics from.\n* `CF_AUTH_EMAIL` with a CF email account with access to the provided API Token.\n* `CF_ZONE_ID` with the ID of the Cloudflare Zone you want to gather metrics.\n\nStart the exporter:\n\n```sh\nnpm start\n```\n\nMetrics for reports are available at `http://localhost:3000/metrics`\n\n### Docker\n\nThere's a `Dockerfile` that runs the tool in docker.\n\n```sh\ndocker build -t checkup .\ndocker run -d checkup\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnftstorage%2Fcloudflare-analytics-prometheus-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnftstorage%2Fcloudflare-analytics-prometheus-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnftstorage%2Fcloudflare-analytics-prometheus-exporter/lists"}