opentelemetry-instrumentation-asyncclick
Async Click instrumentation for OpenTelemetry
Decision gist · record as of 2026-08-14
Yes, if you are already using OpenTelemetry in your infrastructure and need to trace asyncclick CLI applications. The low install friction, active maintenance, and permissive license make it a straightforward addition. The beta status is not a blocker for production use if your tracing requirements are clear, but verify that the instrumentation covers the asyncclick features you depend on.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Requires an initialized OpenTelemetry SDK in your application to emit traces.
- Low friction install with five stable runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most commercial and open-source projects without significant restriction.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 309,678 downloads/mo, #7,752 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-asyncclick
import opentelemetry.instrumentation.asyncclick
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import SimpleSpanProcessor
# Initialize tracing, then asyncclick calls will be instrumented- Whether tracing overhead is acceptable for high-frequency CLI invocations
- Compatibility with asyncclick versions beyond what the instrumentation was tested against
- Whether the package instruments all asyncclick features or only a subset
What it is and what it does
This package is an OpenTelemetry instrumentation plugin that automatically captures tracing data from asyncclick CLI applications. It integrates with the asyncclick fork of the click library to emit spans representing command execution, argument parsing, and callback invocation, allowing you to observe CLI behavior within a distributed tracing system.
The instrumentation works by wrapping asyncclick's internal functions to emit OpenTelemetry events. It depends on opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, typing-extensions, and wrapt. Installation is straightforward and requires Python 3.10 or later. Once installed, it automatically instruments asyncclick calls when the OpenTelemetry SDK is initialized in your application.
Use it for
- Monitor CLI tool execution in containerized environments where distributed tracing is already deployed
- Debug asyncclick command flows by examining trace spans in an OpenTelemetry backend
- Correlate CLI invocations with upstream service requests in a microservices architecture
- Measure CLI performance and identify bottlenecks in command argument processing
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using OpenTelemetry in your infrastructure and need to trace asyncclick CLI applications.
The low install friction, active maintenance, and permissive license make it a straightforward addition. The beta status is not a blocker for production use if your tracing requirements are clear, but verify that the instrumentation covers the asyncclick features you depend on.
Install
opentelemetry-instrumentation-asyncclick on PyPI
Before you install
Low friction install with five stable runtime dependencies. Active maintenance—last commit 2026-08-14, released 29 days ago. Beta status (0.65b0) signals ongoing development but the repository is not archived and receives regular updates.
Requires Python 3.10 or later. Requires an initialized OpenTelemetry SDK in your application to emit traces.
License in practice
Apache-2.0 permissive license allows use in most commercial and open-source projects without significant restriction.
Quickstart
pip install opentelemetry-instrumentation-asyncclick
import opentelemetry.instrumentation.asyncclick
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import SimpleSpanProcessor
# Initialize tracing, then asyncclick calls will be instrumented
Verify before relying
- Whether tracing overhead is acceptable for high-frequency CLI invocations
- Compatibility with asyncclick versions beyond what the instrumentation was tested against
- Whether the package instruments all asyncclick features or only a subset
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventionstyping-extensionswrapt |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 309,678 / month, #7,752 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: opentelemetry_instrumentation_asyncclick-0.65b0-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 › “asyncclick tracing”
- opentelemetry-instrumentation-asyncclickAdds OpenTelemetry tracing to asyncclick CLI applications, capturing…
- asyncclickAsyncclick provides a fork of Click that enables async command and…
- python-kasaControl TP-Link Kasa and Tapo smart home devices (plugs, switches,…
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 opentelemetry-instrumentation-click · asyncclick · opentelemetry-instrumentation-remoulade · opentelemetry-instrumentation-aiokafka · opentelemetry-instrumentation-celery · opentelemetry-instrumentation-kafka-python · opentelemetry-instrumentation-asyncpg · opentelemetry-instrumentation-pymemcache · opentelemetry-instrumentation-boto3sqs · opentelemetry-instrumentation-redis