feat(rivetkit): expose low-cardinality metrics routes#5019
Conversation
PR Review: feat(rivetkit): expose low-cardinality metrics routesOverviewThis PR does two related things:
The cardinality reduction is a meaningful improvement for deployments with many actor instances. The routes API is a clean addition. The code is generally well-structured. IssuesSecurity regression: metrics endpoint lost auth check File: The old code checked No-op methods leave dead computation at call sites File: Several methods are now empty no-ops: Test update reveals silent health degradation window Files: All test Metadata throws before serve; inconsistent with other routes File:
WasmCoreRuntime only implements registryHealth
ObservationsGood: Removing the Good: Good: The switch from per-instance gauges (high-cardinality) to per-actor-type counters/histograms is the right call for production deployments. Label naming is now consistent: Minor: The renamed metrics ( Minor: |
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: