cloudflare / cloudflare/cloudflare-prometheus-exporter

Some counter metrics jump up and down

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
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:

Image

The resulting request rate is nearing 175k RPS which is obviously wrong:

Image

I don't see any errors in logs.

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.