deepeval-otel
Skill by confident-ai
Exports raw OpenTelemetry traces from AI applications to Confident AI's Observatory. It is for developers who want to send OTLP spans from LLM apps, agents, RAG pipelines or chatbots without the deepeval Python package.
Install deepeval-otel
Built from the published package, never by AI.
git clone --depth 1 https://github.com/confident-ai/deepeval /tmp/deepeval && mkdir -p ~/.claude/skills && cp -r /tmp/deepeval/skills/deepeval-otel ~/.claude/skills/deepeval-otelRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/confident-ai/deepeval /tmp/deepeval && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/deepeval/skills/deepeval-otel ~/.gemini/antigravity-cli/skills/deepeval-otelAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill shows how to export OpenTelemetry traces from an AI application to Confident AI's Observatory. It points an OTLP/HTTP span exporter at the Confident AI endpoint with the x-confident-api-key header. The endpoint is chosen from the API key's region prefix. Confident AI then reads confident.span.* and confident.trace.* attributes from each span to build the trace structure. Parent and child nesting comes from standard OpenTelemetry span context.
The skill is for developers who instrument LLM apps, agents, RAG pipelines or chatbots. It works with any OpenTelemetry SDK in any language, and the examples are in Python. It does not require the deepeval package. It is scoped to AI components only, such as LLM calls, retrieval, agent loops and tool calls, and it advises isolating AI spans from other instrumentation.
Written from the project's SKILL.md and checked against it.
What it can do
- Endpoint selectionChooses the US or EU Confident AI OTLP endpoint from the API key's region prefix.
- OTLP exporter wiringSets up or repoints an OTLP/HTTP span exporter with the x-confident-api-key header.
- Span attributesGuides use of confident.span.* attributes on AI spans, such as span type.
- Trace attributesGuides use of confident.trace.* attributes for trace-wide fields.
- AI span isolationExplains how to export only AI spans when other OpenTelemetry or APM instrumentation is present.
- Data-type rulesExplains JSON-encoding dicts and metadata and using native arrays for string lists.
- GenAI fallbacksDescribes how existing gen_ai.* semantic convention attributes are handled.
- Python templateProvides a minimal Python OTLP exporter setup with an example trace.
What you need
- Confident AI account
- CONFIDENT_API_KEY
- OpenTelemetry SDK for the application's language
- For Python: opentelemetry-sdk and opentelemetry-exporter-otlp-proto-http
Try asking
- Send my LangChain RAG pipeline's OpenTelemetry traces to Confident AI
- Set up an OTLP/HTTP exporter to the Confident AI EU endpoint
- Add confident.span.type attributes to my agent and tool call spans
Good to know
- The Confident AI OTLP endpoint accepts HTTP only, not gRPC.
- Only AI components should be instrumented, not web servers, databases or infrastructure.
- Secrets, credentials and raw sensitive data must not be placed in span attributes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/deepeval-otel/SKILL.md, skills/deepeval-otel/templates/confident_otel_setup.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE158 B -
SKILL.md7 KB -
references/endpoint-and-exporter.md7 KB -
references/gen-ai-fallbacks.md2 KB -
references/span-attributes.md6 KB
Show all 7 files
-
references/trace-attributes.md3 KB -
templates/confident_otel_setup.py5 KB
Alternatives to deepeval-otel
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
deepeval-otel: common questions
Do I need the deepeval package to export OpenTelemetry traces to Confident AI?
No. The skill works with any OTLP-capable OpenTelemetry SDK and does not need the deepeval Python package.
Which protocol does the Confident AI OTLP endpoint support?
It supports OTLP over HTTP only. The source says gRPC is not accepted.
When should I use the deepeval-tracing skill instead?
Use deepeval-tracing when instrumenting with the DeepEval SDK's @observe decorator or framework integrations. This skill covers raw OpenTelemetry export.
How do I install deepeval-otel?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is deepeval-otel free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is deepeval-otel safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to deepeval-otel?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
