Skillpedia
الموصّلات (MCP)40k · #7062

arize-instrumentation

ما الذي تفعله

تساعد هذه المهارة على إضافة نظام تتبع اسمه Arize AX إلى تطبيق الذكاء الاصطناعي الخاص بك. يتيح لك ذلك رؤية كيفية أداء تطبيقك من الداخل.

متى تستخدمها

  • ✓عندما تريد إضافة تتبع Arize AX إلى تطبيقك.
  • ✓عندما تريد إعداد رصد نماذج اللغة من البداية.
  • ✓عندما تريد دمج OpenTelemetry أو OpenInference.

رابط المهارة

https://github.com/github/awesome-copilot/blob/main/skills/arize-instrumentation/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/github/awesome-copilot/blob/main/skills/arize-instrumentation/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أعدّ التتبع في تطبيقي باستخدام Arize.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تحلل هذه المهارة كودك أولاً لتفهم طريقة عمله دون إجراء تغييرات. ثم تقترح التغييرات اللازمة لإضافة التتبع وتنفّذها بعد طلب تأكيدك.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Arize Instrumentation Skill

Use this skill when the user wants to add Arize AX tracing to their application. Follow the two-phase, agent-assisted flow from the Agent-Assisted Tracing Setup and the Arize AX Tracing — Agent Setup Prompt.

Quick start (for the user)

If the user asks you to "set up tracing" or "instrument my app with Arize", you can start with:

Follow the instructions from https://arize.com/docs/PROMPT.md and ask me questions as needed.

Then execute the two phases below.

Core principles

  • Prefer inspection over mutation — understand the codebase before changing it.
  • Do not change business logic — tracing is purely additive.
  • Use auto-instrumentation where available — add manual spans only for custom logic not covered by integrations.
  • Follow existing code style and project conventions.
  • Keep output concise and production-focused — do not generate extra documentation or summary files.
  • NEVER embed literal credential values in generated code — always reference environment variables (e.g., os.environ["ARIZE_API_KEY"], process.env.ARIZE_API_KEY). This includes API keys, space IDs, and any other secrets. The user sets these in their own environment; the agent must never output raw secret values.

Phase 0: Environment preflight

Before changing code:

  1. Confirm the repo/service scope is clear. For monorepos, do not assume the whole repo should be instrumented.
  2. Identify the local runtime surface you will need for verification:
    • package manager and app start command
    • whether the app is long-running, server-based, or a short-lived CLI/script
    • whether ax will be needed for post-change verification
  3. Do NOT proactively check ax installation or version. If ax is needed for verification later, just run it when the time comes. If it fails, see references/ax-profiles.md.
  4. Never silently replace a user-provided space ID, project name, or project ID. If the CLI, collector, and user input disagree, surface that mismatch as a concrete blocker.

Phase 1: Analysis (read-only)

Do not write any code or create any files during this phase.

Steps

  1. Check dependency manifests to detect stack:

    • Python: pyproject.toml, requirements.txt, setup.py, Pipfile
    • TypeScript/JavaScript: package.json
    • Java: pom.xml, build.gradle, build.gradle.kts
    • Go: go.mod
  2. Scan import statements in source files to confirm what is actually used.

  3. Check for existing tracing/OTel — look for TracerProvider, register(), opentelemetry imports, ARIZE_*, OTEL_*, OTLP_* env vars, or other observability config (Datadog, Honeycomb, etc.).

  4. Identify scope — for monorepos or multi-service projects, ask which service(s) to instrument.

What to identify

Item Examples
Language Python, TypeScript/JavaScript, Java, Go
Package manager pip/poetry/uv, npm/pnpm/yarn, maven/gradle, go modules
LLM providers OpenAI, Anthropic, LiteLLM, Bedrock, etc.
Frameworks LangChain, LangGraph, LlamaIndex, Vercel AI SDK, Mastra, etc.
Existing tracing Any OTel or vendor setup
Tool/function use LLM tool use, function calling, or custom tools the app executes (e.g. in an agent loop)

Key rule: When a framework is detected alongside an LLM provider, inspect the framework-specific tracing docs first and prefer the framework-native integration path when it already captures the model and tool spans you need. Add separate provider instrumentation only when the framework docs require it or when the framework-native integration leaves obvious gaps. If the app runs tools and the framework integration does not emit tool spans, add manual TOOL spans so each invocation appears with input/output (see Enriching traces below).

Phase 1 output

Return a concise summary:

  • Detected language, package manager, providers, frameworks
  • Proposed integration list (from the routing table in the docs)
  • Any existing OTel/tracing that needs consideration
  • If monorepo: which service(s) you propose to instrument
  • If the app uses LLM tool use / function calling: note that you will add manual CHAIN + TOOL spans so each tool call appears in the trace with input/output (avoids sparse traces).

…

الأسئلة الشائعة

ما هو «التتبع» (tracing)؟

التتبع يشبه سجلاً مفصلاً يسجل كل خطوة يخطوها تطبيقك. ويساعد على فهم ما يحدث، وإيجاد الأخطاء، وتحسين الأداء.

ما هو Arize AX؟

Arize AX منصة تساعد على مراقبة أداء تطبيقات الذكاء الاصطناعي وفهمه، باستخدام التتبع لتقديم رؤى.

هل ستغيّر هذه المهارة كودي الأساسي؟

لا، صُممت لإضافة التتبع دون تغيير المنطق الرئيسي لتطبيقك. وتضيف فقط معلومات المراقبة.

التفاصيل

الوصف الأصلي من المؤلف

Adds Arize AX tracing to an LLM application for the first time. Follows a two-phase agent-assisted flow to analyze the codebase then implement instrumentation after user confirmation. Use when the user wants to instrument their app, add tracing from scratch, set up LLM observability, integrate OpenTelemetry or openinference, or get started with Arize tracing.

repo: github/awesome-copilot

الشعبية

نجوم GitHub
40k
الترتيب
#7062
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة