Giter Club home page Giter Club logo

Comments (7)

CharlieC3 avatar CharlieC3 commented on June 21, 2024 1

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.

if cfgFreeTier {
return
}

if cfgFreeTier {
return
}

from cloudflare-exporter.

raspbeguy avatar raspbeguy commented on June 21, 2024

OK so basically this program is useless for free accounts when not using workers, right?

from cloudflare-exporter.

onedr0p avatar onedr0p commented on June 21, 2024

Yes as described here #66

from cloudflare-exporter.

james00002 avatar james00002 commented on June 21, 2024

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.

james00002 avatar james00002 commented on June 21, 2024

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.

Stazis555 avatar Stazis555 commented on June 21, 2024

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.

tomich avatar tomich commented on June 21, 2024

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

#32

from cloudflare-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.