К основному содержанию
плагин

dash0 — плагин для Claude Code: телеметрия сессий в OpenTelemetry

Отправляет промпты, вызовы инструментов и расход токенов из сессий Claude в Dash0 или любой другой бэкенд на OpenTelemetry.

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin install dash0@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-official
Открыть на GitHub

Что делает dash0

Плагин подключает агент к Dash0 и превращает происходящее в сессии в трейсы OpenTelemetry. Видно, что было в промптах и ответах, какие инструменты и MCP-серверы вызывались, что делали субагенты и сколько токенов ушло на каждый ход. По трейсу можно найти, где агент застрял, и связать его работу с системами, к которым он обращался.

Внутри общий конвейер на Go и обвязка под конкретную среду: для Claude это claude-on-event.sh, регистрация хуков в hooks.json, слэш-команды, скилл настройки и диагностические скрипты. Телеметрия уходит либо в Dash0, либо в свой бэкенд, совместимый с OpenTelemetry. Настройка описана в документации Dash0 по AI SDLC Insights.

На Windows для Claude нужен ещё Git for Windows: хуки выполняются через Git Bash, тогда как остальные среды обходятся PowerShell-бутстрапом. Плагин рассчитан на macOS, Linux и Windows, архитектуры amd64 и arm64.

Какие задачи решает

  • разобрать по шагам, что агент делал в сессии
  • посчитать расход токенов на каждый ход
  • найти, где агент застрял и почему
  • увидеть вызовы MCP-серверов и субагентов
  • связать активность агента с внешними системами

Примеры запросов агенту

  • Покажи трейс последней сессии Claude в Dash0
  • Сколько токенов ушло на каждый ход в этой сессии?
  • Настрой отправку телеметрии в Dash0

Как установить dash0

Через маркетплейс плагинов

/plugin install dash0@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-official

По шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой

Вопросы о dash0

Как установить dash0 в Claude Code?

Сначала добавьте маркетплейс: /plugin marketplace add anthropics/claude-plugins-official, затем поставьте плагин: /plugin install dash0@claude-plugins-official.

Что делает dash0?

Записывает промпты и ответы, вызовы инструментов и MCP, работу субагентов и расход токенов как трейсы OpenTelemetry и отправляет их в Dash0 или другой совместимый бэкенд.

Что нужно для работы dash0 на Windows?

Claude запускает хуки через Git Bash, поэтому нужен установленный Git for Windows. Остальные среды используют PowerShell-бутстрап.

Исходный текст

SKILL.md · Apache-2.0
# Dash0 Agent Plugin

Connect your coding agent to [Dash0](https://dash0.com) for deep insight into how it's used — prompts and responses, tool calls, MCP calls, sub-agent activity, and token consumption — emitted as OpenTelemetry traces.

Trace through a session, see what each turn cost, find where the agent got stuck, and join agent activity with the systems it touches.

## Setup

Check out our documentation for setting up and configuring the Dash0 Agent Plugin: [Set Up AI SDLC Insights](https://www.dash0.com/docs/dash0/darkplane/insights/setup)

## Supported runtimes

- **Claude Code** — installation, configuration, and usage in [`.claude-plugin/README.md`](./.claude-plugin/README.md).
- **Cursor** — installation, configuration, and usage in [`.cursor-plugin/README.md`](./.cursor-plugin/README.md).
- **OpenAI Codex** — installation, configuration, and usage in [`.codex-plugin/README.md`](./.codex-plugin/README.md).
- **GitHub Copilot CLI** — installation, configuration, and usage in [`.github/plugin/README.md`](./.github/plugin/README.md).
- **OpenCode V2** — installation, configuration, and usage in [`opencode-v2/README.md`](./opencode-v2/README.md).
- **GitHub Copilot app** — installation, configuration, and usage in [`copilot-app/README.md`](./copilot-app/README.md).

All runtimes run on macOS, Linux, and Windows, on `amd64` or `arm64`. On Windows, Claude Code also needs [Git for Windows](https://gitforwindows.org/): it runs hook commands through Git Bash, where the other runtimes use a PowerShell bootstrap.

## Repository layout

This repo ships one shared Go pipeline (`cmd/`, `internal/`) and runtime-specific plugin surfaces. The rule: **`<runtime>/` holds everything shipped to that runtime**, including its `<runtime>-on-event.sh` bootstrap wrapper.

| Path | Runtime | Purpose |
|---|---|---|
| `claude/` (`claude-on-event.sh`, `hooks.json`, `commands/`, `skills/`, `tools/`), `.claude-plugin/` | Claude Code | Bootstrap wrapper, hook registration, slash commands, configure skill, diagnostic scripts, manifest |
| `cursor/` (`cursor-on-event.sh`, `hooks.json`, `skills/`), `.cursor-plugin/`, `install-cursor.sh` | Cursor | Bootstrap wrapper, hook registration, configure skill, manifest, installer |
| `codex/` (`codex-on-event.sh`, `hooks.json`), `.codex-plugin/`, `.agents/plugins/marketplace.json`, `install-codex.sh` | OpenAI Codex | Bootstrap wrapper, hook registration, manifest, self-hosted Codex marketplace, installer. Installed via marketplace (`codex plugin add`) or the installer (hooks written to `~/.codex/config.toml`). `.agents/plugins/` is Codex-only — Claude reads `.claude-plugin/`, Cursor its own dir |
| `copilot/` (`copilot-on-event.sh`, `plugin.json`, `hooks.json`, `skills/`), `.github/plugin/marketplace.json` | GitHub Copilot CLI | Self-contained plugin package (bootstrap wrapper, manifest, camelCase hooks, configure skill) + self-hosted Copilot marketplace listing it. Installed via marketplace (`copilot plugin install dash0-agent-plugin@dash0`) or the `:copilot` subpath. `.github/plugin/` is Copilot-only |
| `opencode-v2/` (`index.js`, bootstraps, `skills/`, npm metadata) | OpenCode V2 | V2 `Plugin.define` package, configure skill and persistent event-stream consumer. Installed with `opencode plugin add @dash0/agent-plugin-opencode-v2` (npm, published by the release workflow) or from a cloned path |
| `copilot-app/` (`extension.mjs`, `copilot-app-on-event.sh`, `skills/`) | GitHub Copilot app | Session extension (no manifest) that turns the app's session events into one binary call per turn, plus bootstrap wrapper and configure skill. Installed with `install_extension` pointed at this folder |

The dotted directories are fixed by each agent's plugin discovery and cannot move. Keeping every other runtime asset under `claude/`, `cursor/`, `codex/`, `copilot/`, `opencode-v2/`, and `copilot-app/` stops one marketplace from auto-discovering another runtime's components. `scripts/` is repo tooling only (release, version checks, the Docker test harness) — nothing there is shipped to a user.

## Contributing

Start with [DEVELOPMENT.md](DEVELOPMENT.md) for coding conventions, verification
commands and local runtime development. [ARCHITECTURE.md](ARCHITECTURE.md) explains
event flow, package ownership and telemetry contracts.
[AGENTS.md](AGENTS.md) provides the short version for coding agents.

## Releasing

**Actions → Release.** Pick `patch`, `minor` or `major`; the workflow bumps every
file that pins a version, builds, verifies, publishes, and moves `main` last. One
button, no PR.

`dry_run` builds and checks without publishing anything.

Full detail in [DEVELOPMENT.md](./DEVELOPMENT.md#releasing).

## License

Apache-2.0 — see [LICENSE](LICENSE).

© Dash0 · Apache-2.0 · dash0hq/dash0-agent-plugin

Похожие плагины

Все плагины по теме «DevOps и инфраструктура» →
otel-component-telemetry ollygarden Сканирует один компонент OpenTelemetry на закреплённых версиях и записывает его спаны, метрики и логи в файлы изменений. CX Codex +1 ★ 116звёзд репо otel-semantic-conventions dash0 Помогает выбирать и проверять атрибуты телеметрии по спецификации OpenTelemetry Semantic Conventions. Пригодится, когда нужно назвать атрибут правильно, а не выдумывать своё. CX Codex +1 700установок otel-ottl dash0 Помогает писать и отлаживать выражения OTTL для компонентов OpenTelemetry Collector. Пригодится при фильтрации трейсов, маскировании данных и маршрутизации телеметрии. CX Codex +1 599установок OneUptime OneUptime Подключает ИИ-агента к платформе мониторинга OneUptime для управления алертами, проверками доступности, дежурствами и страницами статуса прямо из чата. CX Codex +1 ★ 7 763звёзд репо cargo-observability getcargo Настраивает превентивный мониторинг воркфлоу в Cargo и оповещает агентов или коннекторы при сбоях, падении свежести данных и превышении метрик. CX Codex +1 6 300установок monitoring-specialist davila7 Субагент помогает проектировать сбор метрик, логирование, трассировку и оповещения. Подключайте его, когда настраиваете наблюдаемость или SLA-мониторинг. 1 677установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой