$npx skillfedfor your agent

opentracing

OpenTracing API for Python. See documentation at http://opentracing.io

SkipPyPI Python ModulesReleased Nov 2020812.9K downloads / moApache License 2.0Source build

Decision gist · record as of 2026-08-14

sdist only — opentracing-2.4.0.tar.gz · builds from source
v2.4.0 · released 2020-11-19

No. The package is abandoned (repository archived, no releases since 2020-11-19, last commit 2022-07-01) and the OpenTracing standard itself has been superseded by OpenTelemetry. While the API remains stable and has no known vulnerabilities, new projects should adopt OpenTelemetry instead. Use this only if you are maintaining legacy code that already depends on it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • The package is abandoned; no active maintenance or support.
  • Classifiers list Python 2.7, 3.5–3.7; compatibility with modern Python versions is unverified.
  • High install friction; the package is abandoned (last commit 2022-07-01, repository archived) and has not been released in over 3 years.

License · maintenance · safety

Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive). You may use, modify, and distribute this package freely in commercial and open-source projects, provided you include the license notice.

last release 2020-11-19 (2094 days) · last repo commit 2022-07-01 · 750 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 812,864 downloads/mo, #4,998 on PyPI

Verify before relying

pip install opentracing==2.4.0

import opentracing
from opentracing.scope_managers import ThreadLocalScopeManager

tracer = opentracing.Tracer(scope_manager=ThreadLocalScopeManager())
with tracer.start_active_span('operation_name', finish_on_close=True) as scope:
    scope.span.set_tag('key', 'value')
  • Whether the API remains compatible with modern Python versions beyond those listed in classifiers (3.5–3.7)
  • Whether instrumentation libraries and tracer implementations built on this API are still actively maintained
  • Current state of the OpenTracing specification and whether it has been superseded by OpenTelemetry or other standards
Same gist for agents: .md · .json

What it is and what it does

OpenTracing is a vendor-neutral API specification for distributed tracing in Python. It defines interfaces for creating spans (units of work), managing trace context across service boundaries, and propagating tracing information through HTTP headers or other carriers. The library itself provides only the API contract and a basic no-op implementation; actual tracing backends (like Zipkin or Jaeger) are implemented separately by instrumentation libraries.

The package is designed for use by framework and library authors who want to instrument their code to participate in distributed traces. It handles three core tasks: extracting trace context from inbound requests, storing the active span in request-local storage via a ScopeManager, and injecting trace context into outbound calls. Multiple ScopeManager implementations are included for thread-local, gevent, Tornado, asyncio, and contextvars-based storage.

Use it for

  • Instrument a web service to extract and propagate trace context from incoming HTTP requests to child spans for outbound calls
  • Create a custom ScopeManager for an async framework to manage active spans across coroutines or tasks
  • Build an instrumentation library that wraps a third-party service client to automatically create and tag spans for each call
  • Integrate with a tracing backend by implementing a Tracer that records spans and sends them to a collector
  • Propagate trace IDs across microservices to correlate logs and metrics from a single user request

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned (repository archived, no releases since 2020-11-19, last commit 2022-07-01) and the OpenTracing standard itself has been superseded by OpenTelemetry. While the API remains stable and has no known vulnerabilities, new projects should adopt OpenTelemetry instead. Use this only if you are maintaining legacy code that already depends on it.

Install

opentracing on PyPI

Before you install

High install friction; the package is abandoned (last commit 2022-07-01, repository archived) and has not been released in over 3 years. No runtime dependencies, but maintenance has ceased entirely.

The package is abandoned; no active maintenance or support. Classifiers list Python 2.7, 3.5–3.7; compatibility with modern Python versions is unverified.

License in practice

Licensed under Apache License 2.0 (permissive). You may use, modify, and distribute this package freely in commercial and open-source projects, provided you include the license notice.

Quickstart

pip install opentracing==2.4.0

import opentracing
from opentracing.scope_managers import ThreadLocalScopeManager

tracer = opentracing.Tracer(scope_manager=ThreadLocalScopeManager())
with tracer.start_active_span('operation_name', finish_on_close=True) as scope:
    scope.span.set_tag('key', 'value')

Verify before relying

  • Whether the API remains compatible with modern Python versions beyond those listed in classifiers (3.5–3.7)
  • Whether instrumentation libraries and tracer implementations built on this API are still actively maintained
  • Current state of the OpenTracing specification and whether it has been superseded by OpenTelemetry or other standards

Package facts

LicenseApache License 2.0 permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 2,094 days since the last release
Last repo commit repository archived
First released
Downloads812,864 / month, #4,998 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules

Evidence: opentracing-2.4.0.tar.gz

Tags

Capabilities
distributed tracing apiopentracing pythonspan context propagationrequest tracing instrumentationtrace context managementservice call tracingdistributed request tracking
Topics
distributed-tracingabandonedinstrumentation
PyPI keywords
opentracing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “distributed tracing api”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also opentelemetry-instrumentation-boto · opentelemetry-propagator-ot-trace · jaeger-client · azure-core-tracing-opentelemetry · openinference-instrumentation-mcp · opencensus-ext-flask · opentelemetry-instrumentation-django · opentelemetry-instrumentation-threading · opentelemetry-instrumentation-urllib · opentelemetry-instrumentation