Cut nemar-api Cloudflare cost to the included allowances
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cloud, observability
Research direction
Start with the linked work in issues #2634, #2635, #2636, and #2638 to understand the concrete changes planned for nemar-api and how they preserve diagnostics and download speed. Check how the production 20% log sampling setting is represented in the project configuration and release process. Done means costs are brought near the included allowances without losing relied-on diagnostics or slowing downloads, and the sampling config ships before or with the next release.
Written by the indexing model from the issue text.
Description
Cloudflare billed $274.44 for the November cycle (Oct 29 to Nov 28), almost all of it from the nemar-api Worker serving data.nemar.org: Workers CPU time $156.76 (7.87B ms), Observability Logs $81.60 (155.6M events, about $60 of it on the Nov 24 spike of 53.5M data requests), Workers requests $20.10, Workers AI $14.14. Since December 1, 2026 logs are billed by volume ($0.25/GB past 50 GB per cycle, plus storage), and the current cycle already ingests about 1.5 GB/day, close to the included 50 GB.
Goal: bring the account to the included allowances, or as near as possible, without losing the diagnostics we rely on or slowing downloads.
- #2634
- #2635
- #2636
- #2638
Production log sampling was set to 20% in the dashboard on 2026-12-02 (owner decision); the config change must ship before or with the next release, which would otherwise reset it to 100%.
Evidence was read on 2026-12-02 from the Cloudflare dashboard (Billing > Billable usage, nemar-api Metrics and Observability). Spend limits (beta) are not set; setting one is an owner decision because hitting it stops the API.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- Avg merge
- 4h 48m
- Merged PRs (30d)
- 468
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nemarOrg/nemar-cli
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
testing
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
All issues in nemarOrg/nemar-cli
Similar issues
-
Codex使用可 かんたん コード
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ryuki-moro/Nicomaru#348 ·
Maintainers usually reply within 1 day
-
Bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day