The Wire · Showcase
REALTIME FIXES PROMETHEUS COUNTER BUG
By RepoJournal · Filed · About Supabase
A subtle counter reset bug in Realtime's gen_rpc metrics was skewing Prometheus dashboards, and the fix is out now.
Realtime's Prometheus gauges were dropping whenever a gen_rpc TCP port recycled, because the summed per-socket counters reset to zero, corrupting rate() and increase() queries [1]. The fix accumulates stats properly so metrics stay accurate [2]. Meanwhile, the supabase/supabase studio shipped a stack of assistant notebook improvements: new run tool, result UI, and terminal state polish [3][4][5]. The evals repo now requires explicit `interface:` in every eval frontmatter, with a backfill for existing cases [6]. Runtime artifacts landed for realtime v2.129.10, postgres 17.6.1.166, and pooler v2.9.12, each with multi-platform Docker images and immutable sha256 refs [7][8][9]. Devs also bumped MCP_SERVER_VERSION to 0.11.0 to enable the new `query_logs` tool [10]. As the release notes for the eval frontmatter change say, "Several evals are missing explicit `interface:`" [6]. Also, the Realtime team is ignoring the latest cowlib advisory because no fix is out and it doesn't apply to them [11].
One email a day. Unsubscribe in one click.
Keep up with Supabase in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Pull in the gen_rpc counter reset fix in Realtime to keep Prometheus metrics accurate supabase/realtime [immediate]
- → Backfill `interface:` in eval frontmatter for the six listed evals supabase/evals [plan]
- → Adopt MCP_SERVER_VERSION 0.11.0 to unlock the query_logs tool supabase/evals [plan]
- → Update to realtime v2.129.10, postgres 17.6.1.166, and pooler v2.9.12 for multi-platform runtime artifacts supabase/slim-services [monitor]
References
- [1] fix: fix gen_rpc counter reset bug ↗ supabase/realtime
- [2] fix: fix gen_rpc counter reset bug (#2131) supabase/realtime
- [3] feat(studio): add assistant notebook run tool ↗ supabase/supabase
- [4] feat(studio): render assistant notebook runs ↗ supabase/supabase
- [5] fix(studio): clarify assistant tool terminal states ↗ supabase/supabase
- [6] feat: require `interface:` in eval frontmatter and backfill ↗ supabase/evals
- [7] realtime v2.129.10 ↗ supabase/slim-services
- [8] postgres 17.6.1.166 ↗ supabase/slim-services
- [9] pooler v2.9.12 ↗ supabase/slim-services
- [10] chore: bump MCP_SERVER_VERSION to 0.11.0 and adapt references ↗ supabase/evals
- [11] chore: Ignore the latest cowlib advisory (#2126) supabase/realtime