Skip to content

chore(prod): cherry-pick perp-funding-stability success query + tags fix - #700

Merged
Flotapponnier merged 1 commit into
mainfrom
chore/cherry-pick-funding-stability-fix-prod
Jun 25, 2026
Merged

chore(prod): cherry-pick perp-funding-stability success query + tags fix#700
Flotapponnier merged 1 commit into
mainfrom
chore/cherry-pick-funding-stability-fix-prod

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Cherry-pick of #699. Bench was returning unknown_slug from /api/stat because success query used perp_venue_health (cohort-only, missing for CEX). Also restores correct tags shuffled from earlier sed mistake.

…ce (12 venues) + correct shuffled tags

success query: switched from perp_venue_health{venue} (only published
for cohort onchain venues, returned null for 11 CEX) to clamp_max(
count_over_time(perp_venue_funding_24h_bps{venue,asset=ETH}[1h]), 1).
Now returns 1 if any funding sample landed in the last hour for that
venue, works for all 12 venues. Bench was returning unknown_slug from
/api/stat because the missing health metric was failing the data
confidence check.

tags + formulas: 8 venues (gate, lighter, kucoin, mexc, bitget, kraken,
coinbase, deribit) had tags + formula venue references copied from the
onchain cohort by mistake (Lighter tagged 'Starknet L2', KuCoin 'BNB
Chain', MEXC 'Solana perp DEX', etc.). Restored to honest descriptions
matching each CEX's actual cadence.
@Flotapponnier
Flotapponnier merged commit 9da5a06 into main Jun 25, 2026
1 check passed
@Flotapponnier
Flotapponnier deleted the chore/cherry-pick-funding-stability-fix-prod branch July 17, 2026 14:41
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