Agent skill · data analytics · aiskillstore
python-observability-patterns
Observability patterns for Python applications. Triggers on: logging, metrics, tracing, opentelemetry, prometheus, observability, monitoring, structlog, correlation id.
Why this skill is useful
Provides specific patterns and code snippets for observability in Python applications that are not commonly known or documented.
What it needs
Requires opentelemetry-api, prometheus-client, structlog installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Python Observability Patterns Logging, metrics, and tracing for production applications. Structured Logging with structlog Request Context Propagation Prometheus Metrics OpenTelemetry Tracing Quick Reference Library Purpose --------- --------- structlog Structured logging prometheus-client Metrics collection opentelemetry Distributed tracing Metric Type Use Case ------------- ---------- Counter Total requests, errors Histogram Latencies, sizes Gauge Current connections, queue size Additional Resources ./references/structured-logging.md - structlog configuration, formatters ./references/metrics.md - Prometheus patterns, custom metrics ./references/tracing.md - OpenTelemetry, distributed tracing Assets ./assets/logging-config.py - Production logging configuration --- See Also Prerequisites: python-async-patterns - Async context propagation Related Skills: python-fastapi-patterns - API middleware for metrics/tracing python-cli-patterns - CLI logging patterns Integration Skills: python-database-patterns - Database query tracing
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/python-observability-patterns