Add per-endpoint SLA metrics and percentile latency tracking
Description
- Emit endpoint-level latency and error metrics suitable for SLO dashboards.
Requirements and context
- Capture p50/p95/p99 latency and error-rate dimensions by route/method.
- Exclude health probes from SLA metrics.
Suggested execution
- Add middleware timing instrumentation and metrics tags.
- Update metric registry with endpoint naming normalization.
Test and commit
- Add tests for metric emission and label consistency.
Example commit message
chore(metrics): add per-endpoint latency percentiles and error rates
Guidelines
- Keep label cardinality bounded.
- Align metric names with current observability conventions.
Add per-endpoint SLA metrics and percentile latency tracking
Description
Requirements and context
Suggested execution
Test and commit
Example commit message
chore(metrics): add per-endpoint latency percentiles and error ratesGuidelines