{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/7"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/4"}],"enrichment":{"capability":"Provides helper classes, decorators, and functions to simplify setup and instrumentation of OpenTelemetry tracing in Python applications.","skillfed_tags":["observability","distributed-tracing","opentelemetry"],"use_cases":["Quickly add distributed tracing to a Python service by decorating functions with @instrumented and calling init_telemetry_provider() once at startup.","Propagate trace context across worker threads or subprocess calls using TraceContextCarrier without manually managing context variables.","Convert Python logging output into OpenTelemetry span events by attaching TraceEventLogHandler to your logger.","Configure OTLP exporter endpoint, protocol, and TLS certificate entirely through environment variables without code changes.","Instrument async functions and coroutines with automatic span wrapping using the same @instrumented decorator."],"what_it_does":"otel-extensions is a thin wrapper around the OpenTelemetry Python SDK that reduces boilerplate for common tracing tasks. It provides a decorator-based API to wrap functions and async functions with automatic span creation, a helper class to initialize the global tracer provider from environment variables or explicit options, and utilities for propagating trace context across process and thread boundaries.\n\nThe package is most useful when you want to instrument a Python application with distributed tracing but find the raw OpenTelemetry SDK verbose or repetitive. It handles OTLP endpoint configuration, span processor selection, and context attachment in a few lines of code, and its @instrumented decorator eliminates the need to manually call tracer.start_as_current_span() around every function you want to trace.","worth_installing":"Yes, if you are already using OpenTelemetry and want to reduce instrumentation boilerplate. The low install friction and permissive license make it a safe addition. However, note that maintenance is dormant (last release 662 days ago); if you need active support or compatibility with very recent OpenTelemetry SDK versions, verify compatibility first or consider maintaining a fork."},"id":"otel-extensions","links":{"html":"https://skillfed.io/packages/otel-extensions","md":"https://skillfed.io/packages/otel-extensions.md","pypi":"https://pypi.org/project/otel-extensions/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-10-21","license_spdx":null,"license_treatment":"permissive","name":"otel-extensions","python_support":"supports_current","summary":"Python extensions for OpenTelemetry"},"popularity":{"monthly_downloads":238046,"position":8948,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.0"}
