litestar-metrics

Community

Instrument Litestar apps for observability.

Authoralti3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Add Litestar observability metrics via OpenTelemetry and Prometheus-compatible instrumentation, including request latency/error metrics and custom business counters. Use when implementing service-level monitoring and SLO visibility. Do not use for log formatting or exception contract design.

Core Features & Use Cases

  • Instrument request-level metrics (count, duration, error rate) with stable labels.
  • Add domain-specific custom metrics at service boundaries.
  • Validate cardinality and collection overhead before production rollout.
  • Correlate with logs/traces through shared dimensions.

Quick Start

Configure your Litestar app to emit metrics via OpenTelemetry and Prometheus-compatible exporters for monitoring and SLO visibility.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: litestar-metrics
Download link: https://github.com/alti3/litestar-skills/archive/main.zip#litestar-metrics

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.