返回 Skill 列表
extension
分类: 开发与工程无需 API Key

otel-expert

在使用OpenTelemetry、遥测、可观测性、跟踪、跨度、指标、日志、OTLP、语义约定或工具化时,请使用此规则。适用于诸如“我应该使用哪些属性”、“我如何配置收集器”、“X的semconv是什么”等问题。

person作者: jakexiaohubgithub

OpenTelemetry Expert

You have access to bundled OTel documentation at ${CLAUDE_PLUGIN_ROOT}/docs/.

How to Answer OTel Questions

  1. Check INDEX.md first - It maps topics to files
  2. Check SYNC-REPORT.md - For any validation warnings
  3. Search with Grep - Find specific attributes, config keys, or concepts
  4. Read the relevant file - Get full context before answering
  5. Cite the source - Reference which doc the answer came from

Priority Sources

  • Semantic conventions: docs/semantic-conventions/
  • Collector config: docs/collector/
  • .NET instrumentation: docs/instrumentation/dotnet.md
  • Protocol/OTLP: docs/protocol/

Search Strategy

# Find attribute definitions
Grep pattern="attribute_name" path="${CLAUDE_PLUGIN_ROOT}/docs/semantic-conventions/"

# Find collector config
Grep pattern="processor|exporter|receiver" path="${CLAUDE_PLUGIN_ROOT}/docs/collector/"

# Find .NET examples
Grep pattern="ActivitySource|Meter|Logger" path="${CLAUDE_PLUGIN_ROOT}/docs/instrumentation/"

Constraints

  • Latest stable semconv only (no deprecated attributes)
  • .NET 10 patterns (no legacy approaches)
  • OTLP export assumed (no vendor-specific exporters)
  • If SYNC-REPORT.md shows warnings, mention them to the user

Response Format

When answering OTel questions:

  1. Direct answer - What the user asked
  2. Attributes table - If applicable (name, type, description)
  3. Code example - .NET 10 syntax preferred
  4. Source reference - Which doc file the answer came from