Comments (7)
I had the same issue initially, but it started working once I set FREE_TIER
to false
(will require a paid account obviously). From the code it seems it only returns worker metrics if FREE_TIER
is set to true
. So if you don't use workers like me, you won't see any CF metrics.
cloudflare-exporter/prometheus.go
Lines 202 to 204 in 1df59e2
cloudflare-exporter/prometheus.go
Lines 228 to 230 in 1df59e2
from cloudflare-exporter.
OK so basically this program is useless for free accounts when not using workers, right?
from cloudflare-exporter.
Yes as described here #66
from cloudflare-exporter.
I have this problem too. The cloudflare_worker_* metrics show up, but the cloudflare_zone_* metrics are missing.
I have FREE_TIER unset (so it defaults to false) and I am connecting to an account thta has a mixture of free and enterprise zones
What is extra weird, is that when I test this on my local machine by running the exporter in docker, it works perfectly. The coudflare_zone_* metrics appear. But when I run it in a k8s cluster (my production environment) I only get the cloudflare_worker_* metrics, nothing else.
I am using the exact same CF_TOKEN and the exact same CF_ZONES list for both local and k8s tests
from cloudflare-exporter.
Question: Is everybody else here who is experiencing this problem also using the helm chart deployment? I think I am using the latest helm chart, but the image it deploys has a cloudflare-exporter binary from 2021.
The docker deployment method (which definitely has the latest cloudflare-exporter) does not exhibit the same problem of missing zone metrics.
from cloudflare-exporter.
Question: Is everybody else here who is experiencing this problem also using the helm chart deployment? I think I am using the latest helm chart, but the image it deploys has a cloudflare-exporter binary from 2021.
The docker deployment method (which definitely has the latest cloudflare-exporter) does not exhibit the same problem of missing zone metrics.
Yeap, this helped to investigate the issue - helm chart (chart version 0.1.9) had image tag locked at 0.0.9, overriding it to latest or 0.0.14 did the trick. Thx!
from cloudflare-exporter.
Definelty related to #32 . This exporter does not work with free tier at the moment. Also if one of your zones is free and the others are not and nothing is showing up, you may manually declares paid zones in CF_ZONES avoiding the free ones and get metrics that way
from cloudflare-exporter.
Related Issues (20)
- Integrate cloudflare exporter with OpenTelemetry
- Would be good to improve docs and provide some guidance on tuning scrape delay
- Error panic: sync: WaitGroup is reused before previous Wait has returned
- Suggestions on what metrics to use from this exporter
- Best practices for optimal perfomance.
- Is this project still maintained? HOT 1
- Improve: HTTP status 429
- Support Setting API versions in the values.yaml for tools like argocd or kustomize 4.x
- client request path
- Missing file for 0.0.13 and 0.0.14 releases HOT 1
- Zones are not authorized HOT 2
- Exporter 400 status error in AWS ECS HOT 1
- For non enterprise zone doesn't collect metrics HOT 1
- There are relatively large differences between the metrics data and the Cloudflare Dashboard HOT 1
- Feature request: count of edge responses with 400s errors and 500s errors
- Not exposing any metrics, nor logging any error HOT 3
- Metrics are shown only for pro-domains HOT 3
- not doing anything at all HOT 11
- Missing `cloudflare_zone_requests_status` metrics HOT 2
- More verbose error logs when communication with cloudflare fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudflare-exporter.