Opentelemetry llm
Skill a5c-ai/babysitter/library/specializations/ai-agents-conversational/skills/opentelemetry-llm
OpenTelemetry instrumentation for LLM applications with distributed tracingFrom its SKILL.md
npx -y skills add a5c-ai/babysitter --skill opentelemetry-llmAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.6 KB, 258 tokens by cl100k_base, as published. Nobody here has run it
OpenTelemetry LLM Skill
Capabilities
- Configure OpenTelemetry SDK for LLM apps
- Implement LLM-specific instrumentation
- Set up trace exporters (Jaeger, OTLP)
- Design semantic conventions for LLM
- Configure span attributes for AI workloads
- Implement context propagation
Target Processes
- llm-observability-monitoring
- agent-deployment-pipeline
Implementation Details
Core Components
- TracerProvider: SDK configuration
- SpanProcessor: Batch/simple processors
- Exporters: Jaeger, OTLP, Console
- Instrumentation: Auto and manual
LLM Semantic Conventions
- gen_ai.system (OpenAI, Anthropic)
- gen_ai.request.model
- gen_ai.request.max_tokens
- gen_ai.response.finish_reason
- gen_ai.usage.prompt_tokens
Configuration Options
- Exporter selection
- Sampling strategies
- Resource attributes
- Span limits
- Context propagation
Best Practices
- Consistent attribute naming
- Appropriate sampling
- Error handling traces
- Propagate context across services
Dependencies
- opentelemetry-sdk
- opentelemetry-exporter-*
- openinference (optional)
What ships with it: 1 file
525 B alongside SKILL.md
- README.md525 B