Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing cloudflare_zone_requests_status metrics #95

Open
PierreBart opened this issue Jul 17, 2023 · 2 comments
Open

Missing cloudflare_zone_requests_status metrics #95

PierreBart opened this issue Jul 17, 2023 · 2 comments

Comments

@PierreBart
Copy link

PierreBart commented Jul 17, 2023

Hello,

Since the 21st of June 2023, the exporter no longer returns data points for the metrics:

  • cloudflare_zone_requests_cached;
  • cloudflare_zone_requests_content_type
  • cloudflare_zone_requests_ssl_encrypted;
  • cloudflare_zone_requests_status;
  • cloudflare_zone_requests_browser_map_page_views_count;
  • cloudflare_zone_requests_total;

Other metrics such as cloudflare_zone_requests_origin_status_country_host or cloudflare_zone_requests_status_country_host are working fine. I am using the Enterprise plan in Cloudflare.

I see no logs in the exporter that could give more details. I tried restarting the exporter, using a new token, but it hasn't fixed the issue.

Do you have any idea on how to fix this issue?

@PierreBart PierreBart changed the title Missing cloudflare_zone_requests_* metrics Missing cloudflare_zone_requests_status metrics Jul 17, 2023
@tomich
Copy link

tomich commented Aug 25, 2023

Question. Is there a free tier zone in your account? I can reproduce what yuou describe on one of my work accounts that has free and non free zones in the same account.

It may be related to #32

where

If you have only free_tier zones--> This exporter does not work.
If you have SOME free_tier zones and you have issues--> You may declare your NON free tier zones in CF_ZONES and get metrics of PRO/Enterprise plan.
If you have only PRO/Enterprise zones--> Exporter works.

Try setting CF_ZONES explicitly and check if you get data that way.

@PierreBart
Copy link
Author

PierreBart commented Sep 5, 2023

@tomich, I do have Free and Enterprise zones in my account.

My issue is that the exporter only reports the following metrics:

  1. cloudflare_zone_colocation_edge_response_bytes
  2. cloudflare_zone_colocation_requests_total
  3. cloudflare_zone_colocation_visits
  4. cloudflare_zone_firewall_events_count
  5. cloudflare_zone_requests_origin_status_country_host
  6. cloudflare_zone_requests_status_country_host

So it does not provide all the metrics listed here: https://github.com/lablabs/cloudflare-exporter#list-of-available-metrics

I have tried setting CF_ZONES explicitly but it doesn't change anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants