doca-telemetry-exporter
БесплатноБез исполняемых скриптовНе проверенUse this skill when the user is doing hands-on DOCA Telemetry Exporter programming on a host where DOCA is installed — defining a…
от NVIDIA★ 4 269 звёзд на GitHubОб этом скилле
DOCA Telemetry Exporter
Host checks. Commands here that inspect the user's DOCA host (listing or reading
/opt/mellanox/doca, release files such as/etc/mlnx-releaseor/etc/nvidia/bf-release,/dev/mst) or reach the BlueField (RShim, SSH, BMC) are for that host. Run them yourself only if the user confirms you are on it; otherwise answer from this skill, give the commands for the user to run, and treat values you can't see as unknown.
Examples
- "Publishing counters from my DOCA app." — this is in scope. Walk schema-then-source; do not configure DTS here.
- "BAD_STATE when I report an event." — check the lifecycle order before changing the report call.
Instructions
Follow Loading order below. Open the tasks companion for configure / publish / debug. Open the capabilities companion for publish surfaces. Do not open every companion file.
Where to start: This skill assumes DOCA is already installed and
the user is doing hands-on telemetry-exporter work — emitting
structured application telemetry (counters / events) from a
DOCA-using program to an external consumer. Open
the tasks companion if the user wants to do something (configure
/ build / modify + rebuild / run / test / debug); open
the capabilities companion when the question is what can
the exporter express on this install. If the user has not installed
DOCA yet, route to doca-setup/SKILL.md first.
If the user is confused about whether they want this library or the
DOCA Telemetry Service (the receiver) — read the
exporter-vs-service rule in
the capabilities companion
before configuring anything.
This library is NOT a DOCA Core context. There is no
doca_ctx_start()for the exporter and no per-doca_devinfocapability-query family (itsdoca_capsdump is a stub). The lifecycle isschema_init→ configure exporters → register type(s) →schema_start→source_create→source_start→ report → flush → destroy.
Example questions this skill answers well
The CLASSES of telemetry-exporter questions this skill is built to answer, each with one worked example. The agent should treat the class as the load-bearing piece — the worked example is a single instance.
- "Which library do I want — the exporter or the telemetry
service?" — worked example: "I want my DOCA Flow program to
publish a per-second packets-processed counter to a downstream
collector — which DOCA artifact do I link?". Answered by the
exporter-vs-service rule in
Capabilities and modes
role-split table + the path-selection bullet, both of which namedoca-telemetry-exporteras the publisher the application links and route the receiving / consuming side away from this skill. - "How do I emit my first structured event from a DOCA program?" —
worked example: "emit a
packets_processedevent record from my DOCA Flow application". Answered by the schema → source lifecycle inCapabilities and modes
object table + the workflow inconfigure +
run step 3 (file-write smoke before
bulk), starting from thetelemetry_export/sample. - "Which publish surface do I want — typed events, metrics, OTLP
logs, or NetFlow?" — worked example: "I want labeled
per-interface packet counters and a bandwidth gauge". Answered
by the publish-surface table in
Capabilities and modes
(that intent maps to the Metrics API —_metrics_add_counter/_add_gauge— and thetelemetry_export_metrics/sample), plus the sample map in ## modify. - "My report call returns
DOCA_ERROR_BAD_STATE— what did I get wrong?" — worked example: "doca_telemetry_exporter_source_reportreturnsBAD_STATEon the first call". Answered by theBAD_STATErow inError taxonomy
(the source was never started, or an OTLP context is missing on write/flush) + the lifecycle order inconfigure. Note there is NO
DOCA_ERROR_AGAINand NODOCA_ERROR_NOT_FOUNDon this API. - "My program reports, but the DTS / collector sees nothing —
where do I start?" — worked example: "my report returns
success, but the DTS log is empty". Answered by the
receiver-up-first staging in
Safety policy
- the file-write smoke and
check_ipc_statussteps in
test (prove the publish half with
file write, then confirm IPC is
CONNECTEDand the receiver is up). - the file-write smoke and
- "How do I confirm the exporter is installed and my transport
is live?" — worked example: "is the exporter on my DOCA 3.x
install, and is IPC to DTS actually connected?". Answered by
the version-compatibility overlay in
Version compatibility
(cross-linking the detection chain indoca-version/SKILL.md) plus the honest introspection rule inCapabilities and modes
(doca_telemetry_exporter_check_ipc_status, not a device cap-query).
Audience
This skill serves external developers building applications that emit structured telemetry through DOCA Telemetry Exporter — i.e
Установить doca-telemetry-exporter в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл doca-telemetry-exporter?
Use this skill when the user is doing hands-on DOCA Telemetry Exporter programming on a host where DOCA is installed — defining a doca_telemetry_exporter_schema and event types, creating sources, picking a publish surface (typed events / opaque events / the metrics counter-gauge-histogram API / OTLP logs / NetFlow), walking the schema-then-source lifecycle, or debugging DOCA_ERROR_* failures from the exporter API. Trigger even when the user does not explicitly mention "DOCA Telemetry Exporter" or "doca_telemetry_exporter_*" — typical implicit phrasings include "publishing counters from my DOCA app", "BAD_STATE when I report an event", "consumer/DTS sees nothing but my report succeeded", "how do I export NetFlow/IPFIX records", or "should I link the exporter or the telemetry service". Refuse and route elsewhere for the receiving DOCA Telemetry Service (DTS), plain stdout logging via doca_log, or real-time event subscription back into the app via doca-comch — those belong to other skills.
Как установить скилл doca-telemetry-exporter?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doca-telemetry-exporter запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic