Skip to content

fix(pm-api-latency): cohort to 5 native venues + venue dimension#725

Merged
Flotapponnier merged 1 commit into
devfrom
fix/pm-api-latency-cohort-region
Jun 25, 2026
Merged

fix(pm-api-latency): cohort to 5 native venues + venue dimension#725
Flotapponnier merged 1 commit into
devfrom
fix/pm-api-latency-cohort-region

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Two issues fixed:

1. Cohort pollution: rank_matrix_query and the uptime panels matched any venue label present in pmapi_* metrics. The pm-rate-limits harness scrapes the same gauges for codex, codex-polymarket, codex-kalshi, predexon-*, mobula → leaderboard mixed native venues with paid relays and broken probes (success<70%). It also surfaced /products/ pages for these junk slugs (codex-polymarket, predexon-kalshi, etc.) with successful HTTP 200.

Fix: pin venue=~"polymarket|kalshi|limitless|manifold|myriad" on rank_matrix_query and on every uptime/cold-connect panel. Once the matrix excludes these slugs, /products/* pages for them stop having any benchmark appearance and 404 cleanly.

2. No per-venue dimension: original PM cluster design called for sub-pages per venue via dimension.venue, mirroring dimension.region. Added it.

Requires worker Railway redeploy after merge so the snapshot picks up the new spec.

Root cause: rank_matrix_query + uptime panels matched any venue label present in pmapi_* metrics — codex, codex-polymarket, codex-kalshi, predexon-*, mobula crept in via the pm-rate-limits harness scraping the same gauges. The leaderboard mixed real venues with paid relays and broken probes (success<70%), and surfaced bogus /products/<slug> pages.

Fix:
- Pin venue=~"polymarket|kalshi|limitless|manifold|myriad" on rank_matrix_query + uptime_24h/7d/30d + cold_connect_p50 panels.
- Add dimension.venue so each native venue gets its own sub-leaderboard alongside the per-region tabs (Polymarket × us-east, etc.), matching the original PM cluster design.
@Flotapponnier
Flotapponnier merged commit 608a6f7 into dev Jun 25, 2026
1 check passed
@Flotapponnier
Flotapponnier deleted the fix/pm-api-latency-cohort-region branch July 17, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant