aliyun-trace
Aliyun Trace
Decision gist · record as of 2026-08-14
Yes, if you are running LLM workloads on Aliyun and need to send traces to ARMS. The low install friction and permissive license make it straightforward to add. However, the 420-day maintenance gap warrants checking that it remains compatible with your OpenTelemetry version and Aliyun ARMS API before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later; depends on aliyun-semantic-conventions, opentelemetry-api, opentelemetry-semantic-conventions, and wrapt being available.
- Low install friction with a pure-Python wheel.
- Maintenance status is aging—last release was 420 days ago—so expect limited active development and potential staleness relative to OpenTelemetry ecosystem changes.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for observability libraries.
last release 2025-06-20 (420 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 17,508,739 downloads/mo, #1,115 on PyPI
Alternatives
Verify before relying
pip install aliyun-trace
from aliyun_trace import Tracer
tracer = Tracer()
tracer.create_trace()- Exact API surface and trace creation methods not detailed in excerpt; confirm whether it covers your LLM instrumentation needs.
- Whether this integrates with Aliyun ARMS console or requires additional configuration beyond the library itself.
- Current compatibility with recent OpenTelemetry releases, given 420-day gap since last update.
What it is and what it does
Aliyun Trace is a Python library for creating manual traces of LLM applications using Aliyun's tracing infrastructure. It builds on OpenTelemetry standards (via opentelemetry-api and opentelemetry-semantic-conventions) to instrument LLM workloads, allowing developers to capture and export trace data to Aliyun's Application Real-time Monitoring Service (ARMS). The library wraps instrumentation logic using wrapt and applies Aliyun-specific semantic conventions.
The package is positioned as a bridge between your LLM code and Aliyun's observability platform. It handles the mechanics of trace creation so you can focus on marking the spans and events that matter in your application. With low install friction and support for Python 3.7 through 3.11, it integrates into existing OpenTelemetry setups, though its aging maintenance status suggests it may lag behind rapid changes in the OpenTelemetry ecosystem.
Use it for
- Instrument LLM inference pipelines running on Aliyun infrastructure to capture request flow and latency.
- Create manual traces for custom LLM workflows where automatic instrumentation is insufficient.
- Export trace data to Aliyun ARMS for centralized monitoring and debugging of distributed LLM applications.
- Integrate LLM observability into existing OpenTelemetry-based monitoring stacks on Aliyun.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are running LLM workloads on Aliyun and need to send traces to ARMS.
The low install friction and permissive license make it straightforward to add. However, the 420-day maintenance gap warrants checking that it remains compatible with your OpenTelemetry version and Aliyun ARMS API before committing to production use.
Install
aliyun-trace on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance status is aging—last release was 420 days ago—so expect limited active development and potential staleness relative to OpenTelemetry ecosystem changes.
Requires Python 3.7 or later; depends on aliyun-semantic-conventions, opentelemetry-api, opentelemetry-semantic-conventions, and wrapt being available.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for observability libraries.
Quickstart
pip install aliyun-trace
from aliyun_trace import Tracer
tracer = Tracer()
tracer.create_trace()
Verify before relying
- Exact API surface and trace creation methods not detailed in excerpt; confirm whether it covers your LLM instrumentation needs.
- Whether this integrates with Aliyun ARMS console or requires additional configuration beyond the library itself.
- Current compatibility with recent OpenTelemetry releases, given 420-day gap since last update.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaliyun-semantic-conventionsopentelemetry-apiopentelemetry-semantic-conventionswrapt |
| Maintenance | Aging 420 days since the last release |
| First released | |
| Downloads | 17,508,739 / month, #1,115 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 :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: aliyun_trace-1.0.3-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 › “llm tracing aliyun”
- aliyun-traceManually creates traces for LLM applications using Aliyun's tracing…
- aliyun-semantic-conventionsProvides standardized semantic convention definitions for Aliyun…
- promptflow-tracingCaptures and visualizes the internal execution of LLM application…
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 aliyun-semantic-conventions · openlit · traceloop-sdk · opentelemetry-instrumentation-alephalpha · lmnr · promptflow-tracing · opentelemetry-instrumentation-llamaindex · opentelemetry-instrumentation-openai · lumigo-tracer · lmnr-claude-code-proxy