Skip to content

Add per-endpoint SLA metrics and percentile latency tracking #166

@Baskarayelu

Description

@Baskarayelu

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions