{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/2"}],"enrichment":{"capability":"Adds distributed tracing instrumentation to kafka-python applications, capturing Kafka producer and consumer operations as OpenTelemetry spans for observability.","skillfed_tags":["observability","distributed-tracing","kafka"],"use_cases":["Trace Kafka message flow across microservices to identify latency bottlenecks in event-driven architectures.","Monitor producer and consumer performance by exporting spans to a tracing backend like Jaeger or Zipkin.","Correlate Kafka operations with application logs and metrics for end-to-end observability of message processing.","Debug message loss or ordering issues by inspecting span context and metadata captured during Kafka operations.","Measure Kafka instrumentation overhead in production by comparing latency before and after enabling tracing."],"what_it_does":"This package integrates OpenTelemetry tracing into kafka-python applications, automatically instrumenting Kafka producer and consumer operations to emit spans that can be exported to observability backends. It is part of the OpenTelemetry Python contrib ecosystem and works alongside the core opentelemetry-api, opentelemetry-instrumentation, and opentelemetry-semantic-conventions packages to provide standards-based distributed tracing for Kafka workloads.\n\nThe instrumentation is designed to work with existing kafka-python code with minimal changes\u2014typically just initializing the KafkaInstrumentor. It captures Kafka message flow and operation details as spans, enabling developers to trace requests across services that produce or consume Kafka messages. The package is in beta (0.65b0) and actively maintained, supporting Python 3.10 through 3.14.","worth_installing":"Yes, if you are already using OpenTelemetry in your Python stack and need visibility into Kafka producer/consumer operations. The low install friction, active maintenance, and permissive license make it a straightforward addition to observability pipelines. The beta status is not a blocker for production use in the OpenTelemetry ecosystem, but verify that the span attributes and export behavior meet your observability requirements before deploying."},"id":"opentelemetry-instrumentation-kafka-python","links":{"html":"https://skillfed.io/packages/opentelemetry-instrumentation-kafka-python","md":"https://skillfed.io/packages/opentelemetry-instrumentation-kafka-python.md","pypi":"https://pypi.org/project/opentelemetry-instrumentation-kafka-python/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-16","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"opentelemetry-instrumentation-kafka-python","python_support":"supports_current","summary":"OpenTelemetry Kafka-Python instrumentation"},"popularity":{"monthly_downloads":5923662,"position":2012,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.65b0"}
