·observability-instrument-with-otel
</>

observability-instrument-with-otel

通过应用 @traced 装饰器、结构化日志记录,将 OpenTelemetry 检测添加到服务方法中 以及用于分布式跟踪的跟踪/跨度 ID 传播。添加新服务方法、调试时使用 复杂的流程、调查性能问题或需要跨应用程序层进行分布式跟踪。 触发“添加跟踪”、“检测此方法”、“添加可观察性”、“使用跟踪进行调试”或 “跟踪执行流程”。

4安装·0热度·@dawiddutoit

安装

$npx skills add https://github.com/dawiddutoit/custom-claude --skill observability-instrument-with-otel

如何安装 observability-instrument-with-otel

通过命令行快速安装 observability-instrument-with-otel AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dawiddutoit/custom-claude --skill observability-instrument-with-otel
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dawiddutoit/custom-claude。

SKILL.md

查看原文

Purpose Add OpenTelemetry (OTEL) instrumentation to service methods for distributed tracing, structured logging, and observability across Clean Architecture layers.

Step 1: Import OTEL Components Add imports at the top of your file (fail-fast principle):

Step 2: Get Logger Instance Replace any existing logger initialization with OTEL logger:

通过应用 @traced 装饰器、结构化日志记录,将 OpenTelemetry 检测添加到服务方法中 以及用于分布式跟踪的跟踪/跨度 ID 传播。添加新服务方法、调试时使用 复杂的流程、调查性能问题或需要跨应用程序层进行分布式跟踪。 触发“添加跟踪”、“检测此方法”、“添加可观察性”、“使用跟踪进行调试”或 “跟踪执行流程”。 来源:dawiddutoit/custom-claude。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dawiddutoit/custom-claude --skill observability-instrument-with-otel
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from dawiddutoit/custom-claude

快速解答

什么是 observability-instrument-with-otel?

通过应用 @traced 装饰器、结构化日志记录,将 OpenTelemetry 检测添加到服务方法中 以及用于分布式跟踪的跟踪/跨度 ID 传播。添加新服务方法、调试时使用 复杂的流程、调查性能问题或需要跨应用程序层进行分布式跟踪。 触发“添加跟踪”、“检测此方法”、“添加可观察性”、“使用跟踪进行调试”或 “跟踪执行流程”。 来源:dawiddutoit/custom-claude。

如何安装 observability-instrument-with-otel?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dawiddutoit/custom-claude --skill observability-instrument-with-otel 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dawiddutoit/custom-claude