opencensus-ext-azure
OpenCensus Azure Monitor Exporter
Decision gist · record as of 2026-08-14
No. The package is abandoned and officially unsupported since September 2024. While it has low install friction and no known vulnerabilities, the maintainers explicitly recommend migrating to Azure Monitor OpenTelemetry exporters instead. Use this package only if you are maintaining legacy code already dependent on it; for new projects, adopt the OpenTelemetry-based solution.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires an Azure Monitor resource and instrumentation key or connection string, typically set via APPLICATIONINSIGHTS_CONNECTION_STRING environment variable.
- Low install friction with five stable runtime dependencies.
- However, the package is abandoned as of June 2025 and officially unsupported since September 2024—the maintainers recommend migrating to Azure Monitor OpenTelemetry exporters instead.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
last release 2025-06-03 (437 days) · last repo commit 2025-06-12 · 676 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,066,198 downloads/mo, #1,419 on PyPI
Alternatives
Verify before relying
pip install opencensus-ext-azure
import logging
from opencensus.ext.azure.log_exporter import AzureLogHandler
logger = logging.getLogger(__name__)
logger.addHandler(AzureLogHandler(connection_string='InstrumentationKey=<key>'))
logger.warning('Hello, World!')- Whether the package still functions reliably with current Azure Monitor API versions despite abandonment
- Compatibility with Python versions beyond 3.9, given the classifier list ends there
What it is and what it does
opencensus-ext-azure is an exporter that bridges Python applications instrumented with OpenCensus to Azure Monitor (Application Insights). It captures logs, metrics, traces, and performance counters and sends them to Azure Monitor for centralized observability. The package integrates with Python's standard logging module and OpenCensus's stats and tracing APIs, allowing developers to emit telemetry without rewriting application code.
The package depends on azure-core, azure-identity, opencensus, psutil, and requests. However, it is no longer maintained—the repository was archived and the package reached end-of-support in September 2024. The maintainers explicitly recommend migrating to the Azure Monitor OpenTelemetry exporters or the Azure Monitor OpenTelemetry Distro for new projects.
Use it for
- Send application logs to Azure Monitor for centralized log aggregation and search.
- Export custom metrics and performance counters to Azure Monitor for dashboarding and alerting.
- Correlate logs with distributed traces by enriching log records with trace and span IDs.
- Monitor application health and performance using Azure Monitor's built-in analytics on exported telemetry.
- Integrate legacy Python applications already using OpenCensus with Azure's observability platform.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned and officially unsupported since September 2024. While it has low install friction and no known vulnerabilities, the maintainers explicitly recommend migrating to Azure Monitor OpenTelemetry exporters instead. Use this package only if you are maintaining legacy code already dependent on it; for new projects, adopt the OpenTelemetry-based solution.
Install
opencensus-ext-azure on PyPI
Before you install
Low install friction with five stable runtime dependencies. However, the package is abandoned as of June 2025 and officially unsupported since September 2024—the maintainers recommend migrating to Azure Monitor OpenTelemetry exporters instead.
Requires an Azure Monitor resource and instrumentation key or connection string, typically set via APPLICATIONINSIGHTS_CONNECTION_STRING environment variable.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install opencensus-ext-azure
import logging
from opencensus.ext.azure.log_exporter import AzureLogHandler
logger = logging.getLogger(__name__)
logger.addHandler(AzureLogHandler(connection_string='InstrumentationKey=<key>'))
logger.warning('Hello, World!')
Verify before relying
- Whether the package still functions reliably with current Azure Monitor API versions despite abandonment
- Compatibility with Python versions beyond 3.9, given the classifier list ends there
Package facts
| License | Apache-2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesazure-coreazure-identityopencensuspsutilrequests |
| Maintenance | Abandoned 437 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 11,066,198 / month, #1,419 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: End Users/DesktopLicense :: 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_azure-1.1.15-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 › “azure monitor exporter”
- opencensus-ext-azureExports logs, metrics, and traces from Python applications to Azure…
- azure-monitor-opentelemetry-exporterExports OpenTelemetry traces, metrics, and logs from Python…
- azure-monitor-opentelemetryBundles OpenTelemetry SDK and Azure Monitor exporters to instrument…
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 azure-monitor-opentelemetry-exporter · applicationinsights · opencensus · azure-monitor-events-extension · azure-monitor-opentelemetry · opencensus-ext-logging · logging-azure-rest · opencensus-ext-flask · microsoft-opentelemetry · azure-core-tracing-opentelemetry