arize-instrumentation

arize-ai/arize-skills

Добавляет трассировку Arize AX в LLM-приложение: определяет стек, подключает автоинструментацию и проверяет трассы.

Звёзды73
Форки14
Авторarize-ai
Обновлённоя 16 2026

Установка

SKILL.md

Arize Instrumentation Skill

Add Arize AX tracing to an app for the first time: detect the stack → fetch the one matching integration doc → wire auto-instrumentation → verify a trace lands.

Route locally. Map the detected stack to a single doc page via references/integration-routing.md (exhaustive for tracing integrations) and fetch only that page. If the stack isn't listed there, it has no dedicated integration — use manual instrumentation. Never bulk-fetch the PROMPT.md/llms.txt aggregates.

Rules: inspect before mutating; tracing is additive, never change business logic; follow existing style; no secrets in code and never ask the user to paste secrets (API keys, tokens) into the chat — reference ARIZE_API_KEY/ARIZE_SPACE_ID env vars only, set by the user in their own .env/shell; ask before persistent local state (ax profiles, .zshrc, env vars) — see references/ax-profiles.md.

Phase 1: Analysis (read-only — no code/files)

Detect from manifests + imports: language, package manager, LLM providers, frameworks, existing tracing (TracerProvider, register(), ARIZE_*/OTEL_*, Datadog/Honeycomb), and whether the app runs tools / an agent loop (manual CHAIN/TOOL spans only if the matched framework instrumentor doesn't already cover them — decided in Phase 2). Confirm scope first — a monorepo, multiple services, or multiple frameworks needs a "which one?" question before touching anything; don't pick for the user.

Output a short summary (stack, proposed integration, existing tracing, scope). If the target is clear and the user asked to instrument now, continue; if ambiguous or analysis-only was requested, stop and confirm.

Phase 2: Implementation (after the target is confirmed)

  1. Fetch the matched integration doc and follow its install + wiring verbatim.
  2. Install with the detected package manager, before writing code — exact packages come from the matched doc. Python base: arize-otel (latest 0.13.0, verify on PyPI) + openinference-instrumentation-{name} (package hyphens, import underscores). TS/JS: @opentelemetry/sdk-trace-node + the matched @arizeai/openinference-* (or a first-party exporter, e.g. Mastra's @mastra/arize). Go has no integration doc — see references/go.md for install, wiring, flush, and manual spans.
  3. Credentials — app needs an API key + Space. Inspect only the target app's own config; never scan sibling repos/shell files, surface secrets, or accept a pasted key. See references/credentials-and-config.md and references/ax-profiles.md.
  4. Centralize init in one module, before any LLM client is created. Existing OTel → add Arize as an additional exporter; don't replace it.

Auto vs manual: prefer the auto-instrumentor — do not hand-roll spans it already covers (duplicates spans, drifts from semconv). Add manual spans only for logic no instrumentor sees, or when the stack has no instrumentor at all. The OpenAI and Anthropic SDK instrumentors capture the LLM call — including the model's tool-call request (name + args) — but NOT the tool's execution, its return value, or the agent/chain boundary. A raw-SDK app with its own tool-calling loop MUST add a manual TOOL span per execution (to capture the result) and a CHAIN span to group the turn, or those never appear. Framework instrumentors (LangChain/LangGraph/OpenAI Agents SDK) typically cover tools and chains — verify in the matched doc before skipping manual spans. Keep register()/arize-otel-go for setup; see references/manual-spans.md and manual instrumentation.

Cross-cutting (every stack):

  • Project name is required — missing it → HTTP 500 (service.name alone fails). Set as a resource attribute: Python register(project_name=…); TS SEMRESATTRS_PROJECT_NAME/model_id; Go Options{ProjectName} or openinference.project.name.
  • Don't hand-roll a TracerProvider/exporter — use register()/arize-otel-go; raw OTel only when integrating an existing provider.
  • Order: register tracer → instrumentors → clients.
  • Flush before exit (CLI/scripts/notebooks) or async exports drop: Python force_flush()+shutdown(), TS shutdown(), Go defer tp.Shutdown(ctx) (never log.Fatalf/os.Exit mid-span). See references/session-tracking.md.
  • Sessions: for obvious multi-turn interactions (e.g. a multi-turn chatbot) or when the user asks, add session.id so turns group into one conversation — see references/session-tracking.md.
  • Never silently override the app's project/space/IDs/endpoint — surface mismatches.

Verification

Done only when: app builds/typechecks, starts with tracing, emits ≥1 real request, and you confirm the trace in Arize or give a precise app-vs-Arize blocker. Trigger an LLM call, then use the arize-trace skill to confirm spans (kind, input.value/output.value, parent-child; CHAIN+TOOL if tools run). No traces → check ARIZE_SPACE_ID/ARIZE_API_KEY, init order, otlp.arize.com:443, exporter logs (GRPC_VERBOSITY=debug); common causes: missing project name (500), unflushed short-lived process, or export/verify credential-context mismatch (report it, don't rewrite config — references/credentials-and-config.md). For the deterministic trace-lookup sequence, blocker classification, and the post-arrival smoke check, follow references/verification.md.

After a confirmed trace

Emit milestones (install → wiring → run → export → verify); mark recovered errors resolved; end separating done from blockers. Then briefly offer the next step: arize-trace (inspect/debug), arize-dataset (curate), arize-evaluator (evals), arize-experiment (compare), arize-prompt-optimization (improve prompt). Quality issues → arize-trace first.

References

integration-routing (the router) · credentials-and-config · ax-profiles · manual-spans · go (Go — no doc page exists) · session-tracking · verification · tracing-assistant-mcp.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: arize-instrumentation](https://darkplay.ru/ai/skills/arize-skills-arize-instrumentation)

Похожие скиллы и другие разделы каталога

Похожие скиллы в категории «DevOps»

Та же категория — сравните, что ещё подойдёт под вашу задачу.

azure-pipelinesmicrosoft · Проверка изменений пайплайна Azure DevOps для сборки VS Code без полного CI
195 696 ★
archifytt-a1i · Создание профессиональных диаграмм архитектуры, workflow, последовательностей, потоков…
97 551 ★
docker-expertsickn33 · Эксперт по Docker: оптимизация контейнеров, безопасность, multi-stage сборки и…
49 917 ★
omarchybasecamp · Обязателен для настройки Linux-десктопа, оконного менеджера и системных конфигов…
47 164 ★
backend-dev-guidelineslangfuse · Общее руководство по бэкенду для монорепозитория Langfuse на Next.js, tRPC, BullMQ и…
37 573 ★
deepevalconfident-ai · Рабочий процесс оценки DeepEval для ИИ-агентов и LLM-приложений: добавление evals…
19 536 ★
iii-engine-configiii-hq · Настраивает движок iii через iii-config.yaml: воркеры, адаптеры, конфигурации очередей…
18 937 ★
vercel-clivercel · Развёртывание, управление, инспекция и отладка проектов Vercel из командной строки…
16 620 ★
portlessvercel-labs · Настройка и использование portless для именованных локальных URL dev-серверов (наприме�…
12 922 ★
hf-clihuggingface · CLI Hugging Face Hub (hf) для скачивания, загрузки и управления моделями, датасетами…
11 363 ★
Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

boxanthropics · Работа с контентом Box прямо из Claude Code — поиск файлов, организация папок, совместная…
100 комп.
honeycombanthropics · Навыки, агенты и рабочие процессы для наблюдаемости Honeycomb: шаблоны запросов, разбо�…
100 комп.
logfireanthropics · Добавляет наблюдаемость Logfire в Python-приложения с автоинструментацией для FastAPI…
100 комп.
rememberanthropics · Непрерывная память для Claude Code: извлекает, суммирует и сжимает диалоги в…
100 комп.
boxanthropics · Работа с контентом Box прямо из Claude Code — поиск файлов, организация папок, совместная…
233 комп.
honeycombanthropics · Навыки, агенты и рабочие процессы для наблюдаемости Honeycomb: шаблоны запросов…
233 комп.
product-tracking-skillsanthropics · Навыки AI-агента, которые готовят данные SaaS-продуктов к продуктовой аналитике — от…
233 комп.
product-skillsalirezarezvani · 13 продуктовых навыков с 22 Python-инструментами: fork-orchestrator с циклом continuous…
510 комп.
research-summarizeralirezarezvani · Структурированное резюмирование исследований: научные статьи, маркетинговые исследования…
510 комп.
waza-readtw93 · Читает URL и PDF, извлекая содержимое: краткие сводки по умолчанию и чистый Markdown при…
8 комп.

Лучшие ИИ-инструменты для программирования

ИИ для программирования

Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8