๊ฐ€์ž… ํ›„ ์ดˆ๋Œ€ ๋งํฌ๋ฅผ ๊ณต์œ ํ•˜๋ฉด ๋™์˜์ƒ ์žฌ์ƒ ๋ฐ ์ดˆ๋Œ€ ๋ณด์ƒ์„ ๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

cv usk
@cv_usk
AI / Software Research Notes AI Agent, LLMOps, MLOps, Software Architecture ๆŠ•็จฟใฏๅ€‹ไบบใฎๆ„่ฆ‹ใงใ™ใ€‚
๊ฐ€์ž… May 2026
270 ํŒ”๋กœ์ž‰ ์ค‘    316 ํŒฌ
# Practical ways to use the Claude Agent SDK ๐Ÿ“Š Visualize all agent activity in Datadog, Grafana, or Langfuse with OpenTelemetry. OpenTelemetry Observability exports agent traces, metrics, and logs via OTLP to external monitoring tools. ๐Ÿ“Œ Title: Observability with OpenTelemetry ๐Ÿ”— URL: ๐Ÿงฉ Overview Enable with `CLAUDE_CODE_ENABLE_TELEMETRY=1` to export traces, metrics, and logs via OTLP to Honeycomb, Datadog, Grafana, Langfuse, and more. W3C trace context propagation automatically links agent traces to your application traces. ๐Ÿ›  How to use it ```bash export CLAUDE_CODE_ENABLE_TELEMETRY=1 export CLAUDE_CODE_ENHANCED_TELEMETRY_BETA=1 export OTEL_EXPORTER_OTLP_ENDPOINT=https://your-collector:4318 ``` ๐Ÿ— Practical usage - Monitor "which tools were called, how long each took, how many tokens were used, and where failures occurred" in a single Datadog dashboard. - Get `claude_code.interaction` / `llm_request` / `tool` / `hook` spans with enhanced telemetry to visualize entire sub-agent delegation chains in one trace. - Inject ` / ` via `OTEL_RESOURCE_ATTRIBUTES` to build per-user audit trails and forward to SIEM. ๐Ÿ’ก Use cases ๐Ÿ” Detailed trace analysis of agent execution ๐Ÿ‘ฅ Per-user audit trails ๐Ÿšจ Bottleneck identification during failures โš ๏ธ Watch out The `console` exporter conflicts with the SDK's message channel โ€” don't use it. For short-lived processes, shorten `OTEL_*_EXPORT_INTERVAL` to prevent missed flushes. #ClaudeAgentSDK# #AI#
๋” ๋ณด๊ธฐ