Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Shed decisions are not recorded server-side

Closed
#293 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
prometheus, rust
Domain
observability

Research direction

Start by finding where grid_route_decisions_total is defined and incremented, then trace how the gateway handles 429 responses. Add a distinct shed reason to the existing counter and run the relevant metrics tests; done means shed decisions are recorded separately from routed and fallback decisions.

Written by the indexing model from the issue text.

Description

triage/accepted

A shed decision is not recorded server-side.

grid_route_decisions_total carries routed and fallback only. When the gateway answers 429 the decision is visible to the client and nowhere else, so there is no server-side rate, no per-replica attribution, and no way to distinguish a grid shed from a rate limiter in front of the grid.

Found while trying to measure whether two gateway replicas diverge on the shed latch under load. That measurement is not possible with the metrics that ship today. It also makes load tests ambiguous: in one run 3751 of 8000 requests answered 429 while the gateway recorded 3522 routed decisions, and establishing those 429s came from upstream rather than the grid took three separate lines of evidence.

Proposed: record a shed on the existing counter, most likely as a third reason value.

Dominant language
Rust
Stars
10
Forks
24
Avg merge
1d 14h
Merged PRs (30d)
138

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from praxis-proxy/grid

All issues in praxis-proxy/grid

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.