opencensus-ext-requests
OpenCensus Requests Integration
Decision gist · record as of 2026-08-14
No for new projects. The package is abandoned and unmaintained since August 2022. If you are already using OpenCensus and need requests tracing, it may work, but you should evaluate actively maintained alternatives (such as OpenTelemetry instrumentation for requests) before committing to this package. Existing deployments can continue to use it if it is stable in your environment, but do not adopt it for new work.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires OpenCensus to be installed and configured; the tracer must be initialized before requests are made within a traced span.
- Low install friction with three straightforward runtime dependencies.
- However, the package is abandoned as of 2022-08-03 with no active maintenance; the repository is archived.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), which allows commercial and private use with minimal restrictions. No notable licensing constraints for most users.
last release 2022-08-03 (1472 days) · last repo commit 2025-06-12 · 676 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 140,714 downloads/mo, #11,264 on PyPI
Alternatives
Verify before relying
pip install opencensus-ext-requests
import requests
from opencensus.trace import config_integration
from opencensus.trace.tracer import Tracer
config_integration.trace_integrations(['requests'])
tracer = Tracer()
with tracer.span(name='parent'):
response = requests.get(url='https://www.wikipedia.org/wiki/Rabbit')- Whether the package works reliably with modern Python versions beyond 3.9 despite classifier claims.
- Whether abandonment affects compatibility with recent versions of requests or wrapt dependencies.
- Whether there are known issues or breaking changes in the final 0.8.0 release.
What it is and what it does
This package adds automatic tracing instrumentation to HTTP requests made via the requests library, integrating them into OpenCensus's distributed tracing system. When enabled, it captures request metadata (URL, method, status code) and emits trace spans that can be exported to observability backends. It depends on opencensus, requests, and wrapt, and is configured by registering 'requests' in OpenCensus's trace_integrations list.
The package allows you to exclude specific hostnames from tracing (useful to avoid tracing calls to your own exporters) and integrates transparently once the integration is registered. However, the project is archived and abandoned since August 2022, with no ongoing maintenance or updates. It remains functional for existing deployments but should not be chosen for new projects without careful consideration of long-term support needs.
Use it for
- Trace outbound HTTP requests in a microservice to understand call chains and latency across service boundaries.
- Collect request metadata (method, URL, status) automatically without modifying individual request call sites.
- Exclude internal exporter traffic from traces to keep trace data clean and reduce noise.
- Integrate requests tracing into an existing OpenCensus observability pipeline for unified telemetry.
- Debug HTTP request failures by correlating request traces with other service telemetry.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No for new projects.
The package is abandoned and unmaintained since August 2022. If you are already using OpenCensus and need requests tracing, it may work, but you should evaluate actively maintained alternatives (such as OpenTelemetry instrumentation for requests) before committing to this package. Existing deployments can continue to use it if it is stable in your environment, but do not adopt it for new work.
Install
opencensus-ext-requests on PyPI
Before you install
Low install friction with three straightforward runtime dependencies. However, the package is abandoned as of 2022-08-03 with no active maintenance; the repository is archived. Use only if you are already committed to the OpenCensus ecosystem and cannot migrate to an actively maintained alternative.
Requires OpenCensus to be installed and configured; the tracer must be initialized before requests are made within a traced span.
License in practice
Licensed under Apache-2.0 (permissive), which allows commercial and private use with minimal restrictions. No notable licensing constraints for most users.
Quickstart
pip install opencensus-ext-requests
import requests
from opencensus.trace import config_integration
from opencensus.trace.tracer import Tracer
config_integration.trace_integrations(['requests'])
tracer = Tracer()
with tracer.span(name='parent'):
response = requests.get(url='https://www.wikipedia.org/wiki/Rabbit')
Verify before relying
- Whether the package works reliably with modern Python versions beyond 3.9 despite classifier claims.
- Whether abandonment affects compatibility with recent versions of requests or wrapt dependencies.
- Whether there are known issues or breaking changes in the final 0.8.0 release.
Package facts
| License | Apache-2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesopencensusrequestswrapt |
| Maintenance | Abandoned 1,472 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 140,714 / month, #11,264 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: opencensus_ext_requests-0.8.0-py2.py3-none-any.whl
Tags
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 › “opencensus requests tracing”
- opencensus-ext-requestsIntegrates OpenCensus distributed tracing with the requests HTTP…
- opencensus-ext-flaskAdds distributed tracing instrumentation to Flask applications via…
- opencensusOpenCensus provides distributed tracing and stats collection for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also opencensus-ext-flask · opencensus-ext-logging · opencensus · opencensus-context · opentelemetry-instrumentation-requests · opentelemetry-instrumentation-django · azure-core-tracing-opentelemetry · opentelemetry-instrumentation-boto · opentelemetry-instrumentation-redis