cloudflare / cloudflare/cloudflare-prometheus-exporter
Some counter metrics jump up and down
Open
- Dominant language
- TypeScript
- Stars
- 181
- Forks
- 39
- Avg merge
- 11h 28m
- Merged PRs (30d)
- 3
Description
Some metrics, e.g. `cloudflare_worker_requests_total` counter, are jumping up and down:
The resulting request rate is nearing 175k RPS which is obviously wrong:
I don't see any errors in logs.
Contributor guide
Research direction
Start by reproducing the reported jumps in cloudflare_worker_requests_total and inspect the exporter’s metric accumulation in its Cloudflare Workers and Durable Objects setup. Trace how counter state is read and updated, then verify that the counter remains monotonic and that the resulting request rate is no longer implausibly high.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- prometheus, typescript
- Domain
- backend, cloud, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100