关于 azure-microsoft-opentelemetry
azure-microsoft-opentelemetry 是用于配置 Microsoft OpenTelemetry Distro 的指导技能,结合本地速查内容与远程文档,涵盖采样、导出器、资源属性、环境变量及遥测行为。
主要功能
- 01配置采样与导出器
- 02设置资源属性
- 03查看环境变量
- 04调整追踪与指标
适用场景
- 01配置 Microsoft OpenTelemetry Distro 选项
- 02调整应用采样行为
- 03设置遥测资源属性
MCP 相关
该技能可通过 mcp_microsoftdocs 的 microsoft_docs_fetch 工具获取 Microsoft 文档,也将 fetch_webpage 作为备用方式。
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ microsoftdocs/ agent-skills --skill azure-microsoft-opentelemetry安装后在 Claude Code 中输入/azure-microsoft-opentelemetry确认已加载。
详细介绍
Azure Microsoft Opentelemetry 技能
此技能提供有关 Azure Microsoft Opentelemetry 的专家指导,涵盖配置。它结合了本地快速参考内容与远程文档获取功能。
如何使用此技能
面向 Agent 的重要提示:使用下方的类别索引查找相关章节。对于包含行范围的类别(例如,
L35-L120),使用read_file读取指定行。对于包含文件链接的类别(例如,[security.md](security.md)),使用read_file读取链接的参考文件
面向 Agent 的重要提示:如果
metadata.generated_at距今已超过 3 个月,建议用户从仓库拉取最新版本。如果无法使用mcp_microsoftdocs工具,建议用户安装该工具:安装指南
此技能需要网络访问权限才能获取文档内容:
- 首选:使用
mcp_microsoftdocs:microsoft_docs_fetch,查询字符串为from=learn-agent-skill。返回 Markdown。 - 备用:使用
fetch_webpage,查询字符串为from=learn-agent-skill&accept=text/markdown。返回 Markdown。
类别索引
| 类别 | 行 | 说明 |
|---|---|---|
| 配置 | L29-L32 | 如何配置 Microsoft OpenTelemetry Distro 选项(采样、导出器、资源属性、环境变量),并调整应用程序的跟踪和指标行为。 |
配置
| 主题 | URL |
|---|---|
| 配置 Microsoft OpenTelemetry Distro 设置和选项 | https://learn.microsoft.com/en-us/azure/microsoft-opentelemetry/configuration |
评论
支持 Markdown