otel-sdk-versions

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

OpenTelemetry SDK Versions

OpenTelemetry SDK版本

Use this skill when you need the latest released OpenTelemetry SDK or package version for a language.
当你需要获取某一语言的最新已发布OpenTelemetry SDK或包版本时,可以使用此技能。

Workflow

工作流程

  1. Open
    references/generated/otel-version-index.md
    .
  • identify the row for the project language and package
  • use the bundled table as the default source of truth for supported languages in this repository
  1. Choose the version deliberately.
  • prefer the latest released version when it is compatible with the project
  • if the latest release is not compatible, choose the latest compatible version and state the compatibility reason explicitly
  • reuse that decision for the rest of the task unless the language, package, or constraints change
  1. Resolve companion packages from the release source.
  • the index covers one primary SDK package per language
  • if the task requires additional packages from the same ecosystem (exporters, instrumentations, resource detectors), look up their versions from the release source — do not infer or reuse the primary package version
  • sub-packages within the same project often share a version line but not always; confirm each package individually
  1. Use the linked follow-up sources when needed.
  • use the Release Source column to confirm the package or repo
  • use the Setup Docs column for SDK setup guidance
  • use the Examples column for implementation references when examples are available
  1. Handle gaps explicitly.
  • if the requested language or package is not in the bundled index, say that the index does not cover that exact package
  • then fall back to the official release source and official docs for that package
  • do not assume an unreleased, prerelease, or incompatible version is acceptable without saying so
  1. 打开
    references/generated/otel-version-index.md
  • 找到对应项目语言和包的行
  • 将此仓库中附带的表格作为支持语言的默认可信来源
  1. 谨慎选择版本。
  • 若最新发布版本与项目兼容,优先选择该版本
  • 若最新版本不兼容,选择最新的兼容版本并明确说明兼容性原因
  • 除非语言、包或约束条件发生变化,否则后续任务复用此决策
  1. 从发布源解析配套包。
  • 该索引每种语言仅涵盖一个主SDK包
  • 若任务需要同一生态系统中的其他包(如导出器、工具库、资源检测器),需从发布源查询它们的版本——不要推断或复用主包版本
  • 同一项目下的子包通常共享版本线,但并非总是如此;请逐个确认每个包的版本
  1. 必要时使用链接的后续来源。
  • 使用「发布源」列确认包或仓库
  • 使用「设置文档」列获取SDK设置指导
  • 当有示例可用时,使用「示例」列作为实现参考
  1. 明确处理空白情况。
  • 若请求的语言或包不在附带的索引中,请说明该索引未涵盖此特定包
  • 随后退回到该包的官方发布源和官方文档
  • 在未说明的情况下,不要假设未发布、预发布或不兼容版本是可接受的