deepeval-otel
하는 일
이 스킬은 표준 OpenTelemetry 도구를 사용해 AI 앱의 동작 추적 정보를 Confident AI의 모니터링 대시보드로 보냅니다. 에이전트, 챗봇, 검색 앱을 만들고 그 동작을 보고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓AI 에이전트가 실행하는 각 단계를 대시보드에서 보고 싶을 때.
- ✓RAG 파이프라인의 추적 데이터를 Confident AI로 보내고 싶을 때.
- ✓LLM 앱을 위해 OpenTelemetry 내보내기 도구를 설정해야 하는 경우.
스킬 링크
https://github.com/confident-ai/deepeval/blob/main/docs/public/.well-known/agent-skills/deepeval-otel/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“RAG 챗봇에 OpenTelemetry 추적을 설정해서, 그 단계들이 Confident AI에 보이도록 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 표준 OpenTelemetry 내보내기 도구를 Confident AI의 엔드포인트로 향하게 하고, 대시보드가 각 AI 스팬에서 읽는 속성을 설정합니다. 모델 호출, 검색, 도구 사용 등 앱의 AI 부분만 다룹니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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:
자주 묻는 질문
deepeval 패키지가 필요한가요?
아니요. OTLP 추적을 보낼 수 있는 어떤 OpenTelemetry SDK와도 작동합니다.
웹 서버도 추적해야 하나요?
아니요. 모델 호출, 검색, 도구, 에이전트 단계 같은 AI 구성 요소만 추적해야 합니다.
DeepEval 자체 추적과는 어떻게 다른가요?
이 방식은 특정 공급업체에 묶이지 않는 OpenTelemetry 내보내기이며, DeepEval 자체 추적은 자체 SDK와 통합을 씁니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 19k
- 순위
- #10480
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
deepeval-tracing
19k에이전트가 AI 앱에 DeepEval 추적을 추가하도록 돕습니다. 각 모델 호출, 검색 단계, 도구 사용이 Confident AI에 나타나게 합니다.
deepeval
19k에이전트가 AI 앱을 위한 평가 루프를 만들도록 돕습니다. 다시 실행할 테스트와 개선할 지점을 보여 줍니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.