deepeval-otel
Ce qu’il fait
Ce skill envoie les traces de comportement d'une application d'IA vers le tableau de bord de surveillance de Confident AI, à l'aide d'outils OpenTelemetry standard. Il s'adresse aux développeurs qui créent des agents IA, des chatbots ou des applications de recherche et veulent voir ce qu'ils font.
Quand l’utiliser
- ✓Quand vous voulez voir chaque étape de l'exécution d'un agent IA dans un tableau de bord.
- ✓Quand vous voulez envoyer les données de trace d'un pipeline RAG vers Confident AI.
- ✓Quand vous devez configurer un exportateur OpenTelemetry pour une application LLM.
Lien du skill
https://github.com/confident-ai/deepeval/blob/main/docs/public/.well-known/agent-skills/deepeval-otel/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Mets en place le traçage OpenTelemetry pour mon chatbot RAG, pour que ses étapes apparaissent dans Confident AI.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Le skill dirige un exportateur OpenTelemetry standard vers le point d'accès de Confident AI, et règle les attributs que le tableau de bord lit sur chaque span d'IA. Il ne couvre que les parties IA de l'application, comme les appels de modèle, la recherche documentaire et l'usage d'outils.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
DeepEval OpenTelemetry Export
Use this skill to instrument an AI application — an LLM app, agent, RAG
pipeline, or chatbot — with raw OpenTelemetry so its traces land in
Confident AI's Observatory. No deepeval package is needed — it works with
any OTLP-capable OpenTelemetry SDK. The job is exactly two things: export to
the correct Confident AI OTLP endpoint, and set the confident.* attributes
Confident AI reads off each span.
Scope: AI Applications Only
This skill instruments AI applications only. The confident.* attributes
and span types — agent, llm, retriever, tool — describe AI components,
and Confident AI's Observatory is built to evaluate and monitor AI behavior.
Instrument only the AI parts of the system: agent loops and planning, LLM
calls, retrieval / vector search, and tool calls. Do not apply confident.*
attributes to non-AI software (web servers, CRUD backends, database layers,
infrastructure) or to non-AI spans inside an otherwise-AI app — that data does
not belong in Confident AI and will not render meaningfully. If the target has
no LLM, agent, retrieval, or tool-calling component, this skill does not apply.
When to Use vs the deepeval Skill
Use this skill for vendor-neutral OTLP export to Confident AI — pointing an
OpenTelemetry exporter at Confident AI and setting confident.* attributes.
Use the deepeval skill when the user wants to build a Python pytest eval
suite, generate datasets or goldens, write metrics, run deepeval test run, or
instrument with the deepeval SDK's @observe decorator. The two skills are
complementary, not alternatives.
Prerequisites
- A Confident AI account and a
CONFIDENT_API_KEY. - An OpenTelemetry SDK for the application's language. For Python:
opentelemetry-sdkandopentelemetry-exporter-otlp-proto-http. - The Confident AI OTLP endpoint accepts HTTP only — never gRPC.
How It Works
Confident AI exposes an OTLP/HTTP traces endpoint. Point any OpenTelemetry span
exporter at it with the x-confident-api-key header. Confident AI's exporter
then reads confident.* attributes off each span to build the trace and span
structure. Parent/child nesting comes from native OpenTelemetry span context,
not from any attribute.
Workflow
- Confirm the target is an AI application (it has LLM calls, an agent loop,
retrieval, or tool calls). If it has none of these, stop — this skill does
not apply. Then inspect for an existing OpenTelemetry setup (a
TracerProvider, span exporters, or an OpenTelemetry Collector) and prefer repointing what exists over adding a parallel pipeline. - Choose the endpoint from the API key's region prefix. Read
references/endpoint-and-exporter.md. - Wire (or repoint) an OTLP/HTTP span exporter with the
x-confident-api-keyheader. For Python, start fromtemplates/confident_otel_setup.py. - If the process runs other OpenTelemetry instrumentation or an APM agent
(auto-instrumentation for HTTP/DB, Datadog, etc.), isolate the Confident AI
export so only AI spans reach it — a dedicated pipeline or a span filter.
Read "Export Only AI Spans" in
references/endpoint-and-exporter.md. - Set
confident.span.*attributes on spans; setconfident.trace.*for trace-wide fields. Readreferences/span-attributes.mdandreferences/trace-attributes.md. - Honor the OTLP data-type rules: JSON-encode dicts/metadata, use native
arrays for string lists. See the Data-Type Rules in
span-attributes.md. - If the app already emits OpenTelemetry GenAI semantic conventions, read
references/gen-ai-fallbacks.mdbefore adding redundant attributes. - Verify traces appear in the Confident AI Observatory.
Core Principles
- Instrument AI components only — agent, LLM, retriever, and tool spans.
Never apply
confident.*attributes to non-AI software or non-AI spans. - Export only AI spans. If the process has other OpenTelemetry instrumentation or an APM agent, isolate the Confident AI pipeline (a dedicated provider or a span filter) so non-AI spans — HTTP requests, DB queries, infra — are never exported to Confident AI.
- Prefer repointing an existing OTLP exporter over adding a parallel one.
- The
confident.*attribute keys are the entire contract — they are the same in every language, so language choice is irrelevant. - Always use OTLP/HTTP. Confident AI's endpoint does not accept gRPC.
- Honor OTLP data-type rules:
Questions fréquentes
Ai-je besoin du paquet deepeval ?
Non. Il fonctionne avec tout SDK OpenTelemetry capable d'envoyer des traces OTLP.
Faut-il aussi tracer mon serveur web ?
Non. Seuls les composants IA, comme les appels de modèle, la recherche, les outils et les étapes d'agent, doivent être tracés.
En quoi est-ce différent du traçage natif de DeepEval ?
C'est un export OpenTelemetry indépendant de tout fournisseur, alors que le traçage natif de DeepEval passe par son SDK et ses intégrations.
Détails
Description originale de l’auteur
Export raw OpenTelemetry traces from an AI application to Confident AI's Observatory. TRIGGER when the user wants to send OpenTelemetry or OTLP traces/spans from an LLM app, agent, RAG pipeline, or chatbot to Confident AI; configure the Confident AI OTLP endpoint; set confident.span.* or confident.trace.* attributes; export AI-app traces without the deepeval Python package; wire an OTLPSpanExporter, OpenTelemetry Collector, or vendor-neutral OTel SDK to Confident AI; or pick the US vs EU OTLP endpoint. Language-agnostic: the mechanism is OTLP attribute keys plus an exporter endpoint. DO NOT TR
repo: confident-ai/deepeval
Popularité
- Étoiles GitHub
- 19k
- Position au classement
- #10480
- Licence
- Apache-2.0
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
deepeval-tracing
19kAide votre agent à ajouter le traçage DeepEval à une application d'IA, pour que chaque appel de modèle, chaque étape de recherche et chaque usage d'outil apparaisse dans Confident AI.
deepeval
19kAide votre agent à construire une boucle d'évaluation pour une application d'IA, avec une suite de tests relançable, des jeux de données et des résultats qui indiquent où s'améliorer.
Skills similaires
add-model-provider
394kPermet à votre agent de connecter un nouveau fournisseur de modèles IA à OpenClaw par des commandes sûres, sans clé en clair, puis de lancer un test.
acp-router
394kAide votre agent à envoyer une tâche à un assistant de code comme Claude Code ou Cursor via OpenClaw, afin que le travail s'exécute dans cet outil.
browser-automation
394kApprend à votre agent à piloter des pages web étape par étape, y compris les connexions, les onglets et la reprise lorsqu'une page ne répond plus.