opencensus
A stats collection and distributed tracing framework
Install
opencensus on PyPI
pip
pip install opencensusuv
uv add opencensuspoetry
poetry add opencensusPackage facts
| License | Apache-2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — opencensus-context, six, google-api-core |
| Maintenance | abandoned — 953 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: opencensus-0.11.4-py2.py3-none-any.whl
About opencensus
from the package's own PyPI description — quoted content, verbatim
OpenCensus - A stats collection and distributed tracing framework
|gitter| |travisci| |circleci| |pypi| |compat_check_pypi| |compat_check_github|
.. |travisci| image:: https://travis-ci.org/census-instrumentation/opencensus-python.svg?branch=master :target: https://travis-ci.org/census-instrumentation/opencensus-python .. |circleci| image:: https://circleci.com/gh/census-instrumentation/opencensus-python.svg?style=shield :target: https://circleci.com/gh/census-instrumentation/opencensus-python .. |gitter| image:: https://badges.gitter.im/census-instrumentation/lobby.svg :target: https://gitter.im/census-instrumentation/lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge .. |pypi| image:: https://badge.fury.io/py/opencensus.svg :target: https://pypi.org/project/opencensus/ .. |compat_check_pypi| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=opencensus :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=opencensus .. |compat_check_github| image::...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
OpenCensus collects performance statistics and distributed traces from Python applications, enabling monitoring of resource usage and request flow across services.
Installation is straightforward with low friction; the package depends on opencensus-context, six, and google-api-core. However, the repository is archived and marked abandoned as of the fact sheet date, with no releases since 2024-01-03 and the last commit in 2025-06-12.
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions, though you should retain license notices in any distributed derivative work.
Usage
pip install opencensus
from opencensus.trace.tracer import Tracer
from opencensus.trace.samplers import AlwaysOnSampler
tracer = Tracer(sampler=AlwaysOnSampler())
with tracer.span(name='my_span'):
pass # code to trace
Verdict: OpenCensus provides a mature tracing and stats framework with permissive licensing and low install friction, but the abandoned repository status means no active maintenance or security updates. Use only if you can maintain a fork or accept the risk of unpatched issues; consider active alternatives for new projects.
Needs verification
- Whether the archived repository will accept security patches or pull requests from the community
- Current adoption status and whether major users have migrated to OpenTelemetry or other maintained tracing solutions
- Compatibility of the package with Python versions beyond 3.9 listed in classifiers
Similar packages
permissive · top 1,000 on PyPI
opencensus-contextpermissive · top 1,000 on PyPI
opentelemetry-instrumentationpermissive · top 1,000 on PyPI
mockpermissive · top 1,000 on PyPI
opentelemetry-apipermissive · top 100 on PyPI
datadogpermissive · top 1,000 on PyPI
opentelemetry-sdkpermissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httppermissive · top 1,000 on PyPI
ddtracepermissive · top 1,000 on PyPI
grpcio-health-checkingpermissive · top 1,000 on PyPI