feat: add sentinel prom metrics by Flo4604 · Pull Request #5283 · unkeyed/unkey

This was referenced

Mar 11, 2026

This was referenced

Mar 18, 2026

@Flo4604 Flo4604 marked this pull request as ready for review

March 23, 2026 13:13

chronark

chronark

chronark

…ract shared timer

- Add sentinel routing metrics: instance selection outcomes + duration histograms
- Add sentinel engine metrics: policy evaluation counts by type and result
- Add sentinel proxy error + upstream response metrics
- Cache parsed sentinel policies in router service to avoid proto unmarshalling on every request
- Extract shared timer package (pkg/prometheus/timer) to avoid copy-pasting duration helpers

@Flo4604

@Flo4604

@Flo4604

@Flo4604

@Flo4604 Flo4604 changed the title feat: add sentinel prometheus metrics, build info gauge, cache parsed policies, and extract shared timer feat: add sentinel prom metrics

Mar 23, 2026