otel-python

Audit and fix OpenTelemetry SDK setup in Python services.

2|Updated May 28, 2026
One-click install
npx skills add https://github.com/tsuga-dev/agent-plugins --skill otel-python-tsuga-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: otel-python
Source: https://github.com/tsuga-dev/agent-plugins/tree/main/plugins/telemetry/skills/otel-python
Command: npx skills add https://github.com/tsuga-dev/agent-plugins --skill otel-python-tsuga-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This skill helps you add or repair OpenTelemetry (OTel) instrumentation in a Python codebase so traces, metrics, logs, and resource attributes reliably show up and correlate correctly in Tsuga.

Core Features & Use Cases

  • Python OTel setup, audit, and fixes for SDK initialization and instrumentation ordering in common frameworks (Flask, Django, FastAPI, Celery, async workers).
  • Cross-signal correctness checks for traces vs metrics vs logs, including common pitfalls that cause missing or non-correlated telemetry.
  • Framework- and transport-aware guidance for exporter configuration, context propagation, and resource attribute requirements across environments.
  • Operational safety gate that requires user confirmation before changing source files.

Quick Start

Ask the AI to audit your Python service and update the OTel Python SDK and instrumentation so that traces, metrics, and logs appear in Tsuga with correct service identity.

Frequently Asked Questions about otel-python

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

FAQPage Schema
How do I fix OpenTelemetry traces and metrics not showing up in my Python service?

OpenTelemetry traces and metrics often fail to appear due to SDK initialization or instrumentation ordering issues. This Skill audits your Python service to repair cross-signal correctness, ensuring telemetry reliably correlates and shows up with correct service identity.

How do I set up OpenTelemetry instrumentation for Flask, Django, and FastAPI?

Setting up OpenTelemetry instrumentation for Flask, Django, and FastAPI requires framework-aware guidance for exporter configuration and context propagation. This Skill applies correct SDK initialization and instrumentation ordering tailored to your confirmed Python codebase.

Why are my Python OpenTelemetry logs not correlating with traces?

Python OpenTelemetry logs fail to correlate with traces due to common cross-signal pitfalls in resource attributes and context propagation. This Skill checks cross-signal correctness to fix missing or non-correlated telemetry across traces, metrics, and logs.

Does this OpenTelemetry Python setup support Celery and async workers?

Yes, OpenTelemetry Python setup supports Celery and async workers. This Skill applies instrumentation and cross-signal correctness checks to confirmed async worker codebases, ensuring traces, metrics, and logs propagate correctly across these environments.

Can I safely audit and modify my Python OpenTelemetry SDK configuration without unexpected source changes?

You can safely audit Python OpenTelemetry SDK configuration because an operational safety gate requires a proposed diff and explicit user confirmation before applying any changes. This prevents unexpected source file mutations during instrumentation repairs.