Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

doca-telemetry

БесплатноБез исполняемых скриптовНе проверен

Use this skill to read DOCA hardware-counter events from a `doca_dev` through the per-domain Telemetry reader libraries: `doca_telemetry_pcc`, `_dpa`…

nvidiaот nvidia1 288 установок в других каталогах

Об этом скилле

DOCA Telemetry

Examples

  • "Build a collector that receives my exporter's events." Answer in this order:

    1. Role split first: doca-telemetry-exporter is the publisher library linked into the app that emits events. The receiver is the DOCA Telemetry Service (doca-dts) over IPC, or the exporter's file output for a local smoke test. doca-telemetry reads per-domain hardware counters of a doca_dev; it is not a consumer of exporter events, and there is no DOCA consume or subscribe API (never name one).
    2. Lifecycle on the publisher side: schema and types (doca_telemetry_exporter_schema_init, _schema_add_type, _schema_start), then source (doca_telemetry_exporter_source_create, _source_start), then _source_report and _source_flush; calls before start return DOCA_ERROR_BAD_STATE. The IPC path needs DTS running for events to arrive; file output (_schema_set_file_write_enabled) works without it.
    3. Verify on the install before assuming a path or limit: doca_telemetry_exporter_check_ipc_status for the DTS connection, and the exporter's documented limits for this release.
    4. Back-pressure is a policy the app owns (drop on the hot path, flush more often, widen buffers, aggregate before reporting), never a blocking sleep-and-retry in the packet path; DOCA does not slow the publisher down.
  • "Build a second program that RECEIVES the events my exporter app publishes." No DOCA library consumes exporter events, and this skill is not that library: doca-telemetry reads a device's hardware counters. The app links doca-telemetry-exporter to publish; the receiver is the DOCA Telemetry Service over IPC (doca-dts), or the exporter's file output for a local smoke. Do not invent a consume or collector API. Then: the publishing app owns the schema; check the IPC path with doca_telemetry_exporter_check_ipc_status; smoke one event with field values intact (file output) before bulk; when reporting cannot keep up, drop or aggregate on the hot path, never block.

  • "Read PCC counters from my BlueField app." — this is in scope. Use the per-domain Telemetry reader; do not stand up DTS or an exporter here. Sequence: doca_telemetry_pcc_cap_is_supported on the device, create the PCC context on the open doca_dev (doca_telemetry_pcc_rep_create for a representor), start it, read once with doca_telemetry_pcc_get_counters, then stop and destroy. Reads before start return DOCA_ERROR_BAD_STATE.

  • "Sample DPA counter exports." — stay on doca_telemetry_dpa reads. Publishing those samples belongs to the exporter skill.

Instructions

Boundary: publishing your own metrics is not this skill. A request to define an event schema, emit application metrics or push events to a collector belongs to doca-telemetry-exporter. Hand the whole request to doca-telemetry-exporter/SKILL.md by name and stop; do not walk this skill's workflow or the exporter's steps here, not even as a summary.

Answer contract (reading device telemetry). There is no DOCA "collector context". This skill's path is direct counter reading: create, start, read, stop, destroy; calls before start return DOCA_ERROR_BAD_STATE. When the user's design also involves the exporter, name it as the publishing side (schema and types, source, start, report, flush) without walking it. Staging: the IPC path needs DTS running (doca_telemetry_exporter_check_ipc_status), the file-output smoke does not. Check the install's limits and per-domain doca_telemetry_*_cap_* queries before assuming any.

Non-negotiable when the user wants to RECEIVE / consume / collect exporter events: there is no DOCA library a second program links to consume them, and no consume, subscribe or collector function exists in any doca_telemetry_* header. Never write one, not even as an example. Say so first, then answer with the documented model: the app links doca-telemetry-exporter to publish; the receiver is DTS (doca-dts) over IPC, or a reader of the exporter's file output; the lifecycle to walk is the publisher's (schema, source, start, report, flush).

Follow Loading order below. Open the tasks companion for configure / read / debug. Open the capabilities companion for the per-domain readers. Do not open every companion file.

Where to start: This skill assumes DOCA is already installed and the user is doing hands-on hardware-counter-reader work — opening a per-domain doca_telemetry_<domain> context against a doca_dev and reading the latest hardware-counter snapshot for that domain. The library is the counter-READER half of DOCA telemetry; it is NOT a NetFlow / IPFIX collector and NOT a generic schema-event consumer (there is no NetFlow / IPFIX / local-socket transport surface in the public header). Open the tasks companion if the user wants to do something (configure / build / modify / run /

Полный SKILL.md на ClawHub

Установить doca-telemetry в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл doca-telemetry?

Use this skill to read DOCA hardware-counter events from a `doca_dev` through the per-domain Telemetry reader libraries: `doca_telemetry_pcc`, `_dpa`, `_diag`, `_adp_retx`, `_phy`, and `_pci`. It covers capability checks, context creation, startup, and per-domain reads or samples. Trigger for implicit requests such as "read PCC counters from my BlueField app", "sample DPA counter exports", or "expose PHY, PCI, or DIAG counters from this doca_dev". This is the counter-reader surface, not a NetFlow, IPFIX, or local-socket collector. Route publishing and export to `doca-telemetry-exporter`; route the deployed DOCA Telemetry Service to `doca-dts`, and collectors and plain stdout logging elsewhere.

Как установить скилл doca-telemetry?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл doca-telemetry запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить doca-telemetry с