deepeval-otel
Fungsinya
Mengirim jejak perilaku dari aplikasi AI ke dasbor pemantauan Confident AI, memakai alat OpenTelemetry standar. Skill ini untuk pengembang yang membangun agent AI, chatbot, atau aplikasi pencarian dan ingin melihat apa yang mereka lakukan.
Kapan dipakai
- βSaat Anda ingin melihat setiap langkah jalannya agent AI di sebuah dasbor.
- βSaat Anda ingin mengirim data jejak dari pipeline RAG ke Confident AI.
- βSaat Anda perlu mengatur eksportir OpenTelemetry untuk aplikasi LLM.
Link skill
https://github.com/confident-ai/deepeval/blob/main/docs/public/.well-known/agent-skills/deepeval-otel/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βAtur pelacakan OpenTelemetry untuk chatbot RAG saya agar langkah-langkahnya muncul di Confident AI.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill mengarahkan eksportir OpenTelemetry standar ke endpoint Confident AI dan mengatur atribut yang dibaca dasbor pada setiap span AI. Skill hanya mencakup bagian AI dari aplikasi, seperti panggilan model, pencarian, dan pemakaian alat.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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:
Pertanyaan umum
Apakah perlu paket deepeval?
Tidak. Skill bekerja dengan SDK OpenTelemetry apa pun yang bisa mengirim jejak OTLP.
Apakah server web saya juga perlu dilacak?
Tidak. Hanya komponen AI seperti panggilan model, pencarian, alat, dan langkah agent yang perlu dilacak.
Apa bedanya dengan pelacakan bawaan DeepEval?
Ini ekspor OpenTelemetry yang netral dari vendor, sedangkan pelacakan bawaan DeepEval memakai SDK dan integrasinya sendiri.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 19k
- Peringkat
- #10480
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
deepeval-tracing
19kMembantu agent Anda menambahkan pelacakan DeepEval ke aplikasi AI, sehingga setiap panggilan model, langkah pencarian, dan pemakaian alat muncul di Confident AI.
deepeval
19kMembantu agent Anda membangun loop evaluasi untuk aplikasi AI, dengan rangkaian tes yang bisa dijalankan ulang, dataset, dan hasil yang menunjukkan di mana perlu perbaikan.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.