distributed-tracing · sickn33 — скилл для Claude Code: как установить
Скилл distributed-tracing для Claude Code помогает настроить сквозную трассировку микросервисов через OpenTelemetry, Jaeger и Tempo, связать спаны между сервисами и избежать утечки секретов в трейсы.
MIT ★ 50 109 обновлён 2026-10-29
npx skills add sickn33/agentic-awesome-skills --skill distributed-tracing -a claude-codeЧто делает distributed-tracing
Скилл даёт агенту инструкции по настройке OpenTelemetry SDK и OTLP-экспортёров для межсервисных запросов. Внутри лежат пошаговые сценарии для сквозной передачи контекста по HTTP и асинхронным очередям, проверки сброса буферов при завершении работы и защиты от сбоев экспортёра.
Бэкенд трассировки этот набор не разворачивает. Серверы Jaeger или Tempo уже должны быть настроены, а версии библиотек придётся сопоставлять по документации до выбора API.
Какие задачи решает
- связать цепочку спанов между HTTP-сервисами и асинхронными очередями
- исключить токены и тела запросов из атрибутов трейсинга
- проверить поведение приложения при недоступности OTLP-коллектора
- настроить правила семплирования на основе накладных расходов
Примеры запросов агенту
- Спланируй настройку OpenTelemetry и Jaeger для пути оформления заказа через микросервисы
- Проверь сквозную передачу контекста трассировки через очереди сообщений
- Настрой OTLP-экспортёр так, чтобы сбой отправки не ломал обработку запросов
Как установить distributed-tracing
1Через Skills CLI (Vercel)
npx skills add sickn33/agentic-awesome-skills --skill distributed-tracing -a claude-code2Вручную: положить файлы
~/.claude/skills/distributed-tracing/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/distributed-tracing/
1Через Skills CLI (Vercel)
npx skills add sickn33/agentic-awesome-skills --skill distributed-tracing -a codex2Вручную: положить файлы
.agents/skills/distributed-tracing/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add sickn33/agentic-awesome-skills --skill distributed-tracing -a cursor2Вручную: положить файлы
.cursor/skills/distributed-tracing/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install sickn33/agentic-awesome-skills skills/distributed-tracing2Вручную: положить файлы
.github/skills/distributed-tracing/SKILL.md1Через Skills CLI (Vercel)
npx skills add sickn33/agentic-awesome-skills --skill distributed-tracing -a gemini-cli2Командой платформы
gemini skills install https://github.com/sickn33/agentic-awesome-skills --path skills/distributed-tracingВручную: положить файлы
.devin/skills/distributed-tracing/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add sickn33/agentic-awesome-skills --skill distributed-tracing -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о distributed-tracing
Как установить distributed-tracing в Claude Code?
Выполните команду npx skills add sickn33/agentic-awesome-skills --skill distributed-tracing -a claude-code. Файл навыка сохранится в ~/.claude/skills/distributed-tracing/SKILL.md.
Что делает скилл distributed-tracing?
Он направляет ИИ-ассистента при интеграции OpenTelemetry SDK, подключении Jaeger или Tempo и настройке безопасной передачи контекста между сервисами.
Разворачивает ли этот скилл Jaeger или Tempo?
Нет, скилл не содержит скриптов установки бэкенда трассировки. Кластер Jaeger, Tempo или OpenTelemetry Collector должен быть подготовлен заранее.
Исходный текст
SKILL.md · MIT
--- name: distributed-tracing description: "Implement distributed tracing with Jaeger and Tempo for request flow visibility across microservices." risk: critical source: community date_added: "2026-02-27" --- # Distributed Tracing ## When to Use Trace a request across services, diagnose latency and error propagation, or add observable boundaries to a new integration. ## Inputs and prerequisites Record installed SDK and backend versions, permitted collector endpoints, the service graph and a staging request. Inspect the installed version's primary documentation before selecting exporter APIs or deployment configuration. This bundle does not install a tracing backend. ## Procedure 1. Read `resources/implementation-playbook.md` and identify one user journey. 2. Configure the matching OpenTelemetry SDK and OTLP exporter before loading instrumented frameworks. Use `references/instrumentation.md` for propagation, shutdown and privacy checks. 3. Configure Jaeger using `references/jaeger-setup.md`, or the existing Tempo/collector deployment's supported configuration. Review listeners, authentication, transport protection, storage and retention before any deployment. 4. Propagate context over HTTP and asynchronous messages. Use stable operation names and allowlisted attributes. Do not log credentials, raw request bodies or sensitive query values. 5. Send successful and failing staging requests and verify connected spans in the backend. Record service identity, parentage, duration units and exporter errors. 6. Measure queue loss and overhead. Select sampling based on those observations; no fixed percentage guarantees coverage or performance. ## Example A checkout calls inventory and payment. Verify that the root request and both downstream operations share a trace, that a simulated payment timeout is recorded, and that no card data is present. Repeat with exporter connectivity unavailable: request handling must retain the application's defined behavior. ## Verification - Actual trace evidence for each exercised boundary, including queue consumers. - Allowed fields only; bounded attribute cardinality. - Shutdown flush and exporter failure behavior observed. - Access, storage and retention checked independently from UI availability. ## Limitations Head sampling can discard errors before tail sampling sees them. In-memory demos do not prove durable storage. Context propagation and cross-service clocks need actual integration tests; this guide is not a runnable multi-service application. ## Sources - [OpenTelemetry exporter documentation](https://opentelemetry.io/docs/languages/python/exporters/) — use the installed SDK's matching documentation.
© sickn33 · MIT · sickn33/agentic-awesome-skills
Похожие скиллы
Все скиллы по теме «Бэкенд и API» →Сначала — distributed-tracing от других авторов.