litestar-metrics
Installation
SKILL.md
Metrics
Execution Workflow
- Choose the metrics backend first: OpenTelemetry for OTel ecosystem integration or Prometheus for scrape-based metrics exposure.
- Register instrumentation at app scope with the appropriate plugin or middleware.
- Decide which routes, methods, and paths should be excluded from metrics.
- Keep labels low-cardinality and group dynamic paths when needed.
- Add custom dimensions or exemplars only when they materially improve observability.
- Validate exporter or scrape behavior before depending on dashboards and alerts.