perf-apm

Instrument Python applications with OpenTelemetry to collect traces, metrics, and logs.

1|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/CybLow/pypaginate --skill perf-apm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perf-apm
Source: https://github.com/CybLow/pypaginate/tree/main/.opencode/skills/perf-apm
Command: npx skills add https://github.com/CybLow/pypaginate --skill perf-apm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Observability for Python applications is often manual, fragmented, and hard to scale. This Skill provides a structured OpenTelemetry-based approach to automatically instrument code, collect traces, metrics, and logs, and unify observability across services.

Core Features & Use Cases

  • OpenTelemetry setup and auto-instrumentation for FastAPI, SQLAlchemy, HTTPX, and Redis
  • Custom metrics, distributed tracing, and structured logging to monitor performance and reliability
  • End-to-end observability across microservices, including logs correlation and health checks

Quick Start

Install the required OpenTelemetry packages and apply the tracing setup to your FastAPI app to begin collecting traces and metrics.

Frequently Asked Questions about perf-apm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up OpenTelemetry tracing for a FastAPI application?

To set up OpenTelemetry tracing for FastAPI, install the required OpenTelemetry packages and apply the tracing setup to your app. This auto-instruments asynchronous endpoints to collect distributed traces and metrics.

Can I auto-instrument SQLAlchemy database calls with OpenTelemetry?

Yes, you can auto-instrument SQLAlchemy database calls with OpenTelemetry. This Skill provides structured auto-instrumentation to collect traces and metrics across database calls, enabling unified observability.

What is the best way to collect metrics and logs across Python microservices?

The best way to collect metrics and logs across Python microservices is using a structured OpenTelemetry-based approach. It unifies distributed tracing, custom metrics, and structured logging for end-to-end observability.

Does OpenTelemetry work with asynchronous FastAPI endpoints?

Yes, OpenTelemetry works with asynchronous FastAPI endpoints. This Skill provides auto-instrumentation specifically applicable to asynchronous endpoints, database calls, and HTTP clients to emit distributed traces.

Why do I need OpenTelemetry for Python application observability?

You need OpenTelemetry because Python application observability is often manual and fragmented. OpenTelemetry provides a structured approach to auto-instrument code, collect traces, and unify metrics and logs across services.