@adobe/aio-lib-telemetry

中文文档
1.3.0发布于 2026/08/05Apache-2.0TypeScriptESM + CJS近 30 天下载 1952

A utility module for easy instrumentation of Adobe App Builder runtime actions via OpenTelemetry.

原始使用文档
文档目录9 节
  1. Installation
  2. Versioning Policy
  3. Usage
  4. Using AI
  5. Changelog
  6. Contributing
  7. License
  8. Governance
  9. Security

@adobe/aio-lib-telemetry

A utility module for easy instrumentation of Adobe App Builder runtime actions via OpenTelemetry.

Installation

npm install @adobe/aio-lib-telemetry

Versioning Policy

This library follows semantic versioning with one important exception: breaking changes to the otel entrypoint do not trigger major version releases.

The otel entrypoint re-exports OpenTelemetry APIs, which remain experimental and receive frequent updates that may include breaking changes. Strictly adhering to semantic versioning would require releasing a new major version with each OpenTelemetry update, which would be disruptive given their rapid release cadence.

Our versioning approach:

  • Major versions are reserved for breaking changes to our library's own API
  • Minor/patch versions may include breaking changes to the otel entrypoint
  • Node.js version changes (drops or additions) do not trigger major versions, they are released as isolated bumps with no other changes, to make the impact easy to assess
  • All breaking changes, including those in otel, are documented in release notes with a [BREAKING] label

Recommendation: Always review release notes before upgrading, especially if you use the otel entrypoint directly.

Usage

See the Usage Guide for more information.

Using AI

This repository has some skills to help you work with AI when instrumenting your App Builder code. It provides skills to help you setup the library, instrument your code, and troubleshoot any issues. Install using the following command:

npx skills add adobe/aio-lib-telemetry

Changelog

See CHANGELOG.md for a list of changes in each release.

Contributing

See the Contributing Guide.

License

This project is licensed under the Apache V2 License. See LICENSE for more information.

Governance

This project adheres to the Adobe Code of Conduct. By participating, you are expected to uphold this code.

Security

Security issues shouldn't be reported on the issue tracker. Instead, file an issue to our security experts.

版本与发布记录

@adobe/aio-lib-telemetry 共发布 9 个版本,首次发布于 2025/07/30;过去 12 个月发布了 6 个版本。

版本发布日期距今
1.3.0latest2026/08/053 个月前
1.2.02026/05/185 个月前
1.1.42026/05/185 个月前
1.1.32026/01/0710 个月前
1.1.22025/12/0910 个月前
1.1.12025/11/2711 个月前

关于 @adobe/aio-lib-telemetry 的常见问题

@adobe/aio-lib-telemetry 是什么?

A utility module for easy instrumentation of Adobe App Builder runtime actions via OpenTelemetry.

如何安装 @adobe/aio-lib-telemetry?

在项目目录运行 npm install @adobe/aio-lib-telemetry,或使用 pnpm add / yarn add / bun add。

@adobe/aio-lib-telemetry 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@adobe/aio-lib-telemetry 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@adobe/aio-lib-telemetry 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22 <=24。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@adobe/aio-lib-telemetry 可以商用吗?

@adobe/aio-lib-telemetry 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@adobe/aio-lib-telemetry 的下载量有多少?

根据 npm 官方下载统计,@adobe/aio-lib-telemetry 在 2026/10/05 – 2026/11/03 这 30 天内被下载 1,952 次,日均约 65 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@adobe/aio-lib-telemetry 还在维护吗?

最新版本 1.3.0 发布于 2026/08/05(3 个月前);至今共发布 9 个版本,其中过去 12 个月发布了 6 个;首次发布于 2025/07/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。