Open nonamef opened 3 years ago
I had a similar problem. When I don't set CF_ZONES it doesn't get most of the data. When I set CF_ZONES with a list of enterprise zones it works, but if I add a single non-enterprise zone to the list it doesn't work.
I believe you have to manually define zones when at least one of your zones is free tier. This may be related to: https://github.com/lablabs/cloudflare-exporter/issues/32
I have over 50 zones that are a mix of Free and Enterprise plans. While running the exporter cloudflare_zone_XXX data was not populated, but cloudflare_worker_XXX was working. When I specified a short list of zones with CF_ZONES, all the data was populated.
Looks like the condition "CF_ZONES : If not set, all zones from account are exported" is not working. Would be good to know if there is a maximum amount of zones that can scraped.