Generated banner for Doca Telemetry Utils
Generated logo for Doca Telemetry Utils

Doca Telemetry Utils

NVIDIAOfficialCreated by NVIDIA

  • Skill
  • Tool integration
  • Cloud and DevOps
  • Apache-2.0
  • Medium risk

From the author

doca_telemetry_utils command line on a host with DOCA: discover the diagnostic-counter schema, translate counter names to binary Data IDs and back, and check per-device counter support before committing a DOCA Telemetry exporter config. Use this skill when telemetry counters vanish between the exporter and the collector: "my exporter ships but the collector sees nothing", "this metric silently drops downstream", "which counters does this BlueField expose", "translate this 0x... back to a counter name", "what do node / pcie_index / depth mean here", or "is this counter supported on this device", even without naming the tool. Route exporter or collector code to doca-telemetry-exporter / doca-telemetry, DTS deployment to doca-dts, and DOCA install or repair to doca-setup.
— the description by NVIDIA

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The doca-telemetry-utils skill provides guidance for using the host-side command line tool of the same name. It is designed to assist operators in managing DOCA Telemetry pipelines by bridging the gap between exporter configurations and collector visibility. The tool enables users to enumerate diagnostic counters, translate between human-readable counter names and binary Data IDs, and verify whether specific hardware devices support particular counters. This skill serves as a diagnostic aid to resolve issues where telemetry data is missing or silently dropped, ensuring that exporter configurations are valid for the target BlueField DPU environment.

What it does

  • Enumerates the diagnostic-counter schema available on a DOCA-enabled host.
  • Translates between human-readable counter names and binary Data IDs.
  • Probes per-device counter support to validate exporter configurations.
  • Reverse-resolves captured Data IDs to identify specific counters and properties.
  • Provides diagnostic information to troubleshoot silent metric drops in telemetry pipelines.

When to use it

  • When telemetry counters are missing or not appearing in the collector.
  • Before committing a new DOCA Telemetry exporter configuration to ensure device support.
  • When needing to correlate captured binary Data IDs with public documentation.
  • During migration of telemetry pipelines across different DOCA versions.
  • When debugging why specific metrics are being silently dropped downstream.

Advantages

  • Enables proactive validation of telemetry configurations before deployment.
  • Reduces troubleshooting time for silent data loss in telemetry pipelines.
  • Provides an authoritative, version-specific source of truth for counter schemas.
  • Facilitates accurate correlation between captured logs and counter definitions.

Usage examples

“Which diagnostic counters does this BlueField actually expose?”
The agent will guide the user to run the enumeration command to list all available counter names for the specific BlueField device.
“My exporter is configured for port_rx_bytes but the collector sees nothing. How do I check this?”
The agent will assist in translating the counter name to a Data ID and running a per-device probe to confirm if the hardware supports that counter.
“I have a captured Data ID 0x1160000600030201. What counter is this?”
The agent will instruct the user to use the reverse-resolve invocation to map the binary ID back to its corresponding counter name and property dimensions.
“Is port_rx_bytes with node=1 supported on my device?”
The agent will help the user execute a per-device capability probe to validate the specific counter and property combination against the target PCIe address.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/nvidia/doca-telemetry-utils/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip doca-telemetry-utils.zip -d .agents/skills

Documentation by NVIDIA

DOCA Telemetry Utils

Examples

  • "Which diagnostic counters does this BlueField actually expose?" — this is in scope. Enumerate then probe; do not start a collector app here.

  • "My exporter names port_rx_bytes but nothing shows up downstream." — translate name to Data ID and probe per-device support before changing the exporter.

Quick triage: the exporter ships, the collector sees nothing

  1. doca_telemetry_utils get-counters: is the counter known to this release?

  2. doca_telemetry_utils <counter>: print its property options.

  3. doca_telemetry_utils <counter> <properties>: resolve the Data ID.

  4. doca_telemetry_utils <device PCI> <counter> <properties>: "not supported" on this device means the exporter drops it silently; do not commit that counter.

  5. doca_telemetry_utils <0x... Data ID>: reverse-resolve an ID captured on the wire.

  6. Check host and BlueField release pairing with doca-version.

  7. If every step resolves cleanly, hand off to doca-telemetry ## debug.

Quote the tool's output verbatim; never construct Data IDs by hand.

Instructions

Follow Loading order below. Open the tasks companion for install / run / test. Open the capabilities companion for schema discovery and pairing with the telemetry libraries. Do not open every companion file.

Where to start: This is a tool skill for invoking doca_telemetry_utils — the documented host-side CLI that supports a DOCA Telemetry exporter / collector pipeline by discovering the counter schema, translating counter names ↔ Data IDs, and probing per-device counter support. Open the tasks companion and start at ## install for the host-side prerequisites and ## run for the three documented invocation classes (enumerate / name→ID / ID→name). Open the capabilities companion when the question is what does this tool actually discover about the telemetry schema, how does it pair with the developer-side doca-telemetry/SKILL.md and exporter libraries, how do I confirm a device supports a counter before committing an exporter config to it, or why does my exporter pipeline silently drop a metric.

How to use this skill. Read this file, then search the companion file for the ## <name> heading the question needs and read that whole section. Answer completely from it, quoting only its symbols and commands. Do not browse docs; use the entry points in doca-public-knowledge-map. Give environment checks as commands for the user's DOCA host. For out-of-scope requests, name the skill that owns them and stop.

This skill is the operator-side support tool for a DOCA Telemetry deployment. It is NOT the developer-side collector library (that is doca-telemetry/SKILL.md), NOT the developer-side publisher library (that is doca-telemetry-exporter — see doca-telemetry ## Related skills (doca-telemetry/SKILL.md#related-skills)), and NOT a DOCA Telemetry Service (DTS) deployment guide (route to doca-dts). Three separate surfaces; conflating them is the most common telemetry first-touch error.

Example questions this skill answers well

The CLASSES of doca_telemetry_utils questions this skill is built to answer, each with one worked example. The class is the load-bearing piece; the worked example is one instance.

  • "My exporter says it's emitting port_rx_bytes but nothing shows up downstream — what did I get wrong?" — worked example: "my exporter config has a counter name string and my collector sees no events with that name". Answered by the name ↔ Data ID translation step in the capabilities companion

    • the per-device-support probe in the tasks companion: the exporter ships a Data ID, not a name; a name in the config that resolves to a Data ID the device does not support is silently dropped.

  • "Which DOCA diagnostic counters does this BlueField actually expose?" — worked example: "enumerate the full counter schema for my BlueField-3 before I write the exporter config". Answered by the schema-discovery invocation class in the capabilities companion (doca_telemetry_utils get-counters lists every counter name the diagnostic-data surface knows about; pair with a per-device probe to confirm support).

  • "I have a Data ID in a captured log — what counter was that?" — worked example: "a downstream consumer emitted Data ID: 0x1160000600030201 — translate it back so I can correlate against the public guide". Answered by the reverse-resolve invocation class in the capabilities companion

    • the ID-encodes-properties rule in the tasks companion (a Data ID carries the counter's property dimensions; the reverse-resolve reports them).

  • "What property dimensions does this counter take and what values are valid?" — worked example: "I know the counter is pcie_link_write_stalled_time_* — what do node / pcie_index / depth mean and what values does the device accept?". Answered by the property-dimension table in the capabilities companion

    • the <name> invocation without arguments which prints the documented property options + units + unit-specific axes.

  • "Is this counter supported on this device before I commit it to the exporter config?" — worked example: "validate that port_rx_bytes with node=1 is exposed on the BlueField at PCIe address X before I write the exporter config". Answered by the per-device-support probe (<device PCI> <name> [properties]) in the capabilities companion

    • the gate-before-commit rule in the tasks companion.

  • "Is doca_telemetry_utils on my install, and is it paired with the matching doca-telemetry library version?" — worked example: "is the diagnostic- data counter set my exporter targets on this DOCA version?". Answered by the version-overlay in the capabilities companion, which redirects to the canonical doca-version/SKILL.md chain and adds the tool ↔ doca-telemetry library schema-version match rule.

When to load this skill

Load this skill when the user is — or the agent needs to — invoke doca_telemetry_utils on a real host with DOCA installed, alongside an exporter / collector pipeline that needs schema discovery, per-device support validation, or Data ID translation. Concretely:

  • Enumerating the full counter schema before writing a fresh DOCA Telemetry exporter config (get-counters).

  • Validating that a chosen counter + property set resolves to a Data ID the target device actually supports, before committing the config.

  • Reverse-resolving a Data ID captured from a downstream consumer back to a counter name + properties for correlation against the public guide.

  • Debugging a "exporter ships, collector receives nothing" report (the canonical schema-mismatch / unsupported-counter failure mode).

  • Producing a "validated counter set for this BlueField + this DOCA version" artifact as part of a structured exporter-config baseline.

  • Migrating an exporter pipeline across DOCA versions and confirming each previously-supported counter still resolves cleanly on the new version.

Do not load this skill for general DOCA orientation, collector / exporter library programming, DTS deployment, or DOCA install. For those, route to doca-public-knowledge-map/SKILL.md, doca-telemetry/SKILL.md, or doca-setup/SKILL.md.

What this skill provides

This is a thin loader. Substantive material lives in two companion files:

  • the capabilities companion — what doca_telemetry_utils discovers + how it pairs with the developer-side surfaces: the three documented invocation classes (enumerate / name→ID / ID→name), the property- dimension model (counters carry property axes such as node, pcie_index, depth, plus per-unit axes), the optional per-device capability probe (<device PCI> <name> runs the resolved counter against the device), the operator-side support role (this is NOT the developer-side library; it exists to make exporter / collector setups honest), the version overlay (tool ↔ doca-telemetry library schema version pairing), the layered error taxonomy (install / parse / unknown-counter / unknown-data-id / property-out- of-range / device-not-supported / version / cross-cutting), the observability surface (stdout-only), and the safety policy (the tool is read-only; mistakes appear downstream as silent metric drops, not crashes).

  • the tasks companion — step-by-step workflows for the in-scope task verbs: install (host-side DOCA + telemetry component prerequisites), configure (axis decisions: which invocation class, which device, which counter), build (route to install — the binary is shipped), modify (refuse — do not patch the binary; modify the invocation and the exporter / collector config that consumes the resolved Data IDs), run (the three documented invocations), test (round-trip a chosen counter through name → Data ID → per-device probe → exporter config → collector receipt), debug (walk the error taxonomy), use (the hand-off into the developer-side doca-telemetry collector / exporter pipeline), plus a Deferred task verbs block.

The skill assumes a host where DOCA is already installed with the telemetry component, a BlueField the operator is targeting is visible to DOCA, and the exporter / collector pipeline that consumes the resolved Data IDs is either being authored or has already been authored against the matching doca-telemetry/SKILL.md library version.

What this skill deliberately does not ship

This skill is agent guidance, not a samples or scripts bundle. To keep the boundary clean, it deliberately does not contain — and pull requests should not add:

  • A verbatim counter inventory or Data ID table. The counter set evolves across DOCA versions and BlueField generations; an inventory pinned in this skill would silently rot. doca_telemetry_utils get-counters on the installed binary is the authoritative source.

  • Pre-baked exporter / collector configs. Configs are install-, device-, and use-case-specific; a packaged config in this skill would mislead operators on a different setup.

  • A DTS deployment recipe. DTS is a separate DOCA service with its own public guide; route via doca-public-knowledge-map/SKILL.md. This skill resolves the counter names + IDs a DTS pipeline consumes; it does not configure DTS.

  • Wrappers, parsers, or scripts in any language that consume the tool's output. The output is a simple text mapping; users who want to script against it should read the live guide and write the parser against their installed version.

  • A samples/ or reference/ subtree. This is a thin loader for a shipped CLI; substantive material lives on the public page, in --help, and in doca-telemetry/SKILL.md.

Loading order

  1. Read this skill first to confirm the user's question is in scope (operator-side support tooling for a telemetry pipeline, not the developer-side library programming).

  2. For the three invocation classes, the property-dimension model, the per-device support probe, the version overlay, the error taxonomy, the observability surface, and the safety policy, see the capabilities companion.

  3. For the documented invocations and the discover → resolve → validate → consume workflow — install, configure, build, modify, run, test, debug, use — see the tasks companion.

  • doca-telemetry/SKILL.md — the developer-side collector library whose schema this tool helps the operator discover. Pair them in every exporter-pipeline triage session. The collector library skill teaches the collector-vs-exporter rule, the schema-must-match contract with the publisher, and the consumer- queue-full back-pressure rule; this tool's role is to make the schema half of that contract inspectable from the operator side. Conflating the library and the tool is the most common telemetry first-touch error.

  • doca-public-knowledge-map/SKILL.md — routing to the public DOCA Telemetry guide and the DOCA Telemetry Service (DTS) page on docs.nvidia.com, plus the on-disk install layout for the tool.

  • doca-version/SKILL.md — canonical DOCA version-handling rules. The ## Version compatibility section in the capabilities companion is a concise overlay that redirects here for the body and adds the tool ↔ doca-telemetry library schema-version pairing rule.

  • doca-setup/SKILL.md — env preparation, install verification, and the I have no install yet path with the public NGC DOCA container. This skill assumes its preconditions are satisfied (DOCA installed with the telemetry component, BlueField visible to DOCA).

  • doca-debug/SKILL.md — the cross-cutting debug ladder. Telemetry-utils feeds the cross-cutting ladder by surfacing the counter schema + per-device support truth at the runtime layer; exporter-pipeline regressions often resolve at the schema layer before touching the collector / network path.

  • doca-structured-tools-contract/SKILL.md — the bundle's detect → prefer → fall back → report contract for structured helper tools. The command appendix in the tasks companion honors this contract.

  • doca-programming-guide/SKILL.md — general DOCA programming patterns shared by every library / tool surface, including the cross-library DOCA_ERROR_* taxonomy this tool's host-side error layer overlays on top of when downstream collector / exporter code surfaces a related error.

Files

TASKS.md

DOCA Telemetry Utils — Tasks

Where to start: The verbs that carry real workflow content are ## install (host-side DOCA + telemetry component prerequisites), ## configure (which invocation class, which device, which counter), ## run (the three documented invocations: enumerate / name→ID / ID→name with optional per-device probe), ## test (round-trip a chosen counter through schema → per-device probe → exporter ship → collector receive), ## debug (layered diagnosis), and ## use (hand the validated counter set off to the developer-side doca-telemetry/SKILL.md collector / exporter pipeline). The two routing-stub verbs (build, modify) are kept because the agent's task-verb contract is uniform across the bundle and each carries a meaningful pointer to where the user's question actually belongs.

This file is loaded by SKILL.md after CAPABILITIES.md. It walks the agent through the documented invocations of doca_telemetry_utils, the schema-discovery + per- device-support validation workflow, and the hand-off into a developer-side telemetry pipeline.

install

doca_telemetry_utils is shipped pre-built as part of every DOCA install that includes the Telemetry optional component, under /opt/mellanox/doca/tools/. The operator-side install path:

  1. Confirm DOCA is installed with the Telemetry component. If the binary is missing, route to doca-setup ## configure (doca-setup/TASKS.md#configure) to install or repair the host-side DOCA package selection; confirm the version per doca-version TASKS.md ## configure (doca-version/TASKS.md#configure).

  2. Confirm the BlueField the operator is targeting is visible to DOCA. Walk doca-setup ## test (doca-setup/TASKS.md#test) for the device-visibility check; the per-device support probe (per CAPABILITIES.md ## Capabilities and modes) requires the device to be visible to DOCA on the PCI address the operator passes.

  3. Confirm the developer-side doca-telemetry/SKILL.md library is installed at the matching DOCA version if the operator intends to consume the resolved Data IDs from a collector application on the same host. The two must come from the same DOCA release band per CAPABILITIES.md ## Version compatibility.

  4. Confirm the operator has the privileges the public DOCA Telemetry guide requires for the per-device probe (binding a doca_dev against a PCI address typically requires elevated privileges). Run the probe as the intended deploying user. If it returns a permission error, stop and route the host policy through doca-setup; do not guess a group, ACL, or sudo escalation. Schema-only enumeration may continue, but a per-device result is then absent and no device-specific exporter configuration may be committed.

  5. Confirm the downstream pipeline shape. Is the target an exporter shipping Data IDs to a local collector? An exporter shipping into a DTS instance? A bare schema-discovery exercise with no immediate consumer? The answer affects which counters the operator commits to and which per-device probe matters.

If the binary is not at the standard path, the fix is to install / repair the host-side DOCA package selection that includes the Telemetry component, not to patch the file in place.

configure

The tool's configuration is the invocation: there is no config file, no daemon, no env knob the public guide documents as required. Steps the agent walks the user through, in order:

  1. Pick the invocation class. Per CAPABILITIES.md ## Capabilities and modes three-class table:

    • Enumerate the schema — when the operator is starting a new exporter config and wants to see what counters DOCA understands on this install.

    • Resolve name → Data ID — when the operator knows the counter name (from the public guide, from an existing config, from a teammate's runbook) and needs the Data ID for the exporter config + the property options for that counter.

    • Reverse-resolve Data ID → name — when the operator has a captured Data ID (from a downstream consumer's log, from an existing exporter config the team inherited) and needs the counter name + properties for correlation.

  2. Pick the device (or skip it for schema-only resolution). The optional <device PCI> leading argument runs the resolved counter against the device's capability surface. The agent's rule: for every counter that will be committed to an exporter config on a target device, run the per-device probe; for schema discovery without a specific device in mind, omit the PCI argument.

  3. Pick property values for the chosen counter. If the operator does not yet know the counter's property options, run doca_telemetry_utils <name> once without property arguments to print the documented options (node, pcie_index, depth, plus unit-specific axes). The agent does NOT invent property values from generic CLI knowledge.

  4. Plan the captured-evidence tuple. Per CAPABILITIES.md ## Observability evidence tuple — the operator captures (DOCA version, BlueField identity + firmware, counter name, property values, resolved Data ID, per-device probe result) for every counter committed to an exporter config. This is the audit trail for the config decision.

For the canonical DOCA universal lifecycle on the developer-side collector / exporter this tool informs, see doca-programming-guide TASKS.md ## configure (doca-programming-guide/TASKS.md#configure) and doca-telemetry TASKS.md ## configure (doca-telemetry/TASKS.md#configure). This skill is concerned with the operator-side configuration of the support-tool invocation.

build

doca_telemetry_utils is shipped pre-built as part of every DOCA install that includes the Telemetry optional component (/opt/mellanox/doca/tools/doca_telemetry_utils). There is no source tree the external user is expected to compile, no build flags, no meson or make workflow for the tool itself.

Routing for nearby "build" questions:

  • "The binary isn't there — do I need to build it?" → no. Route to doca-setup ## configure (doca-setup/TASKS.md#configure) to install / repair the host-side DOCA package selection that includes the Telemetry component.

  • "I want to build my own collector app that consumes the resolved Data IDs." → not a doca_telemetry_utils question. Route to doca-telemetry TASKS.md ## build (doca-telemetry/TASKS.md#build) for the collector-side build pattern.

  • "I want to extend the tool with a new invocation class." → out of scope here; this skill is for external operators consuming the shipped tool, not for contributors extending it.

The ## What this skill deliberately does not ship block in SKILL.md explicitly forbids adding a build recipe for the tool; revisit that policy before changing this section.

modify

Do not modify the shipped doca_telemetry_utils binary. It is an NVIDIA-shipped CLI; there is no documented public way to change its behaviour, output format, or counter catalog, and none should be invented.

What the agent does modify, every time, is:

  1. The tool invocation — which invocation class, which device PCI, which counter name, which property values, which Data ID.

  2. The downstream exporter / collector config that consumes the resolved Data IDs — that is where the operator's actual exporter pipeline lives. The skill names the requirements the config must satisfy (every committed counter round-tripped through this tool, every counter probed against the target device, re-resolved across DOCA upgrades) and refuses to pin a specific config format.

Routing for nearby "modify" questions:

  • "I want to override what counter set DOCA understands." → not supported; the counter catalog is owned by the doca_telemetry_diag surface that the host-side DOCA install ships. Re-installing or upgrading DOCA is the only way to change the catalog.

  • "I want a JSON output from the tool." → not supported on the documented surface; route through the doca-structured-tools-contract/SKILL.md preamble when a structured helper is present, or write a parser against the documented text output on the installed version per SKILL.md ## What this skill deliberately does not ship.

  • "I want to change which device the tool probes against." → that is the invocation's <device PCI> argument; the tool itself is not modified.

run

The three documented invocations — every doca_telemetry_utils session uses one or more of them. The full invocation surface lives in the public DOCA Telemetry Utils guide; this section names the shape of the flow, not verbatim command lines beyond what the guide documents.

  1. Confirm prerequisites. Per ## install and ## configure: binary present, DOCA version known, device visible (if per-device probe is planned), invocation class chosen.

  2. Schema discovery (enumerate). Run doca_telemetry_utils get-counters to print the full counter set DOCA understands on this install. The agent's rule: capture the output; it is the catalog every subsequent name → ID resolve uses.

  3. Name → Data ID resolution. For each counter the operator considers for an exporter config:

    • Run doca_telemetry_utils <name> once without property arguments to print the documented property options for that counter.

    • Run doca_telemetry_utils <name> <property-values> to resolve the Data ID with the chosen property values. The output tuple: Data ID: 0x..., Name: ..., Unit: ..., property-axis values.

    • Capture the resolved tuple as evidence per CAPABILITIES.md ## Observability.

  4. Per-device support probe. For each counter that will be committed to an exporter config on a target device:

    • Run doca_telemetry_utils <device PCI> <name> <property-values> (or the equivalent on --help) to run the resolved counter against the device's capability surface.

    • Confirm the device-side output reports "supported" for the resolved Data ID. If not, the counter is silently dropped at the exporter; do NOT commit it.

  5. Reverse-resolve a captured Data ID (when the operator has a Data ID from a downstream log). Run doca_telemetry_utils <DATA_ID> to print the name + unit + property values. Capture the result as the correlation anchor.

When recording the run for downstream consumers (the validated counter set artifact pattern), write down: the DOCA version, the BlueField identity + firmware, every counter the operator plans to commit, each counter's chosen property values, the resolved Data ID, the per-device probe result, and the stdout of every invocation. The downstream ## test and ## use workflows depend on those fields.

test

doca_telemetry_utils is a discovery + validation tool, so its ## test verb is about testing the exporter / collector pipeline against the validated counter set — confirming that the counter the operator resolved actually ships from the exporter and arrives at the collector / downstream consumer end-to-end — not unit-testing the tool itself.

Validation gate (mandatory before any exporter / collector config is rolled forward).

  1. Resolve and probe each counter. Per ## run steps 3–4 for every counter in the proposed exporter config. Reject any counter that does not resolve cleanly or is not supported by the target device.

  2. Author / update the exporter config with the resolved Data IDs. The exporter ships Data IDs, not names. Per the developer-side library ownership in doca-telemetry/SKILL.md, the exporter side is owned by the publisher library + the user's exporter code, not by this tool.

  3. Stand up the collector / downstream consumer. Per doca-telemetry TASKS.md ## configure (doca-telemetry/TASKS.md#configure) and ## run (doca-telemetry/TASKS.md#run); confirm the collector is up and ready to receive events.

  4. Run a single-event smoke from the exporter. Per doca-telemetry TASKS.md ## test (doca-telemetry/TASKS.md#test): one event for one of the resolved counters; the collector must receive the event with the correct Data ID + correct property values.

  5. Reverse-resolve the received Data ID via this tool to confirm the value the collector sees matches the name + properties the operator expects. This is the "end-to-end honest" gate.

  6. Roll forward the exporter config to the rest of the fleet only after the round-trip succeeds.

The iteration loop (apply to every exporter-config rotation):

Iteration triggerWhat it looks likeWhat changes next iteration
get-counters lists a counter the operator wants, but the per-device probe reports "not supported"Schema-vs-device support gapPick a different counter, or pick a different device class; do NOT commit the unsupported counter.
Forward resolve prints a Data ID, but reverse-resolve on a different DOCA version produces a different nameDOCA version skew — the counter was renamed or its property axes changedWalk CAPABILITIES.md ## Version compatibility; re-resolve against the version the exporter is actually targeting.
Exporter ships a Data ID, collector receives nothingDownstream pipeline issue; the schema-discovery tool's role ends hereHand off to doca-telemetry TASKS.md ## debug (doca-telemetry/TASKS.md#debug) for the collector-side ladder; this tool already confirmed the schema half of the contract.
Same DOCA version, two different BlueField generations, same counter — one supports, one does notPer-device support is install + firmware versionedResolve / probe separately per device class; the exporter config may need to be parameterised per device.
Operator passes a property value the documented set does not acceptProperty-value-out-of-range errorRe-run doca_telemetry_utils <name> without properties to print the documented options; re-run with a valid value.

The agent's rule: every change to the counter set, the property values, or the DOCA version re-opens the loop. Re-using a resolved Data ID across a DOCA upgrade without re-resolving is exactly the silent-metric-drop failure mode this tool exists to prevent.

Loop termination: stop iterating once every counter in the proposed exporter config has been (a) resolved cleanly, (b) probed cleanly against every target device class, and (c) round-tripped end-to-end through one exporter → collector smoke.

This skill does NOT ship a "test fixture" or pre-recorded expected output. The expected output is install-, device-, and version-specific.

debug

When doca_telemetry_utils fails to enumerate, fails to resolve a name or Data ID, or reports a counter as not supported on the target device — or when the downstream exporter / collector pipeline silently drops a metric the operator thought was shipping — walk the layered error taxonomy in CAPABILITIES.md ## Error taxonomy in order. The shape of the diagnosis:

  1. Install. Confirm the binary exists, the Telemetry component is installed, and DOCA is at a known version per doca-version TASKS.md ## configure (doca-version/TASKS.md#configure).

  2. Parse. Re-read --help on the installed binary and the public DOCA Telemetry Utils guide; confirm the invocation matches one of the three documented classes; confirm the Data ID format (the documented form is 0x-prefixed hex).

  3. Unknown counter. Run doca_telemetry_utils get-counters to enumerate the actual counter set on this install; cross-check the public DOCA Telemetry guide for the version the user is targeting.

  4. Unknown Data ID. Cross-check the Data ID against a fresh forward resolve from the same DOCA version; Data IDs are not hand-constructible in general.

  5. Property-value-out-of-range. Run doca_telemetry_utils <name> without properties to print the documented options; re-run with a valid value.

  6. Device-not-supported. This is the answer the user came for — do NOT commit this counter to the exporter config for this device. Walk the per-platform support matrix in the public DOCA Telemetry guide; pick a different counter or a different device class.

  7. Version. Walk doca-version TASKS.md ## debug (doca-version/TASKS.md#debug) end-to-end; the tool ↔ doca-telemetry/SKILL.md library schema-version pairing is the common mismatch failure.

  8. Cross-cutting (downstream). If the tool reports cleanly but the exporter / collector pipeline still fails, the cause is in the downstream pipeline, not in this tool. Hand off to doca-telemetry TASKS.md ## debug (doca-telemetry/TASKS.md#debug) and doca-debug ## debug (doca-debug/SKILL.md).

In every case: quote what the tool reported. Do not paraphrase the resolved tuple, do not invent a Data ID, do not summarize a "not supported" result into "may not be supported".

use

The validated counter set is consumed by the developer-side exporter / collector pipeline. The agent's hand-off:

  1. Author / update the exporter config with the resolved Data IDs, per the developer-side ownership in doca-telemetry/SKILL.md (collector) plus the publisher-side library that emits the IDs.

  2. Stand up the collector per the actual downstream consumer's public runbook; confirm it is ready before the exporter starts emitting. The doca-telemetry skill is a hardware counter reader, not a collector lifecycle owner, so it does not establish a publisher/collector startup-order contract.

  3. Round-trip an end-to-end smoke per ## test; confirm the Data ID the collector sees reverse-resolves through this tool to the name + properties the operator committed.

  4. Roll forward only after the round-trip is clean. Do NOT roll out an exporter config that has not been end-to-end smoked.

  5. Re-resolve every counter across DOCA upgrades before the upgraded exporter pipeline is rolled forward, per CAPABILITIES.md ## Safety policy re-resolve-on-upgrade rule.

The agent's rule: this tool produces the validated counter set; the doca-telemetry/SKILL.md library (and the publisher-side library) consumes it. Conflating the two surfaces is the most common telemetry first-touch error.

Deferred task verbs

The verbs below are not doca_telemetry_utils work and should be routed out before the agent does any of them under this skill's name.

  • Developer-side collector / exporter programming → doca-telemetry/SKILL.md (collector library) + the publisher-library skill referenced from doca-telemetry ## Related skills (doca-telemetry/SKILL.md#related-skills). This tool informs those skills; it does not redefine them.

  • DTS deployment / configuration → separate DOCA service with its own public guide; route via doca-public-knowledge-map ## DOCA services (doca-public-knowledge-map/SKILL.md#doca-services).

  • DOCA install / repair / upgrade → route to doca-setup ## configure (doca-setup/TASKS.md#configure).

  • Cross-cutting Telemetry pipeline observability (Prometheus / OpenTelemetry / fluentd integration) → operator-owned downstream tooling; this skill names the validated counter surface that downstream tooling consumes, but does not pin a downstream tool.

Command appendix

doca_telemetry_utils-specific invocation classes the verbs above reach for. Every row is a CLASS — the agent must not invent flags, counter names, property values, or Data IDs beyond --help on the installed binary and the public DOCA Telemetry Utils page.

Infra-aware preamble (every row below). Per the bundle's detect → prefer → fall back → report contract documented in doca-structured-tools-contract ## The agent behavior contract (doca-structured-tools-contract/SKILL.md#the-agent-behavior-contract), the agent should:

  1. Probe for the matching structured helper FIRST (doca-env --json for version + devices + telemetry-component availability in one shot; doca-capability-snapshot for per-device capability flags).

  2. If the probe succeeds, the structured tool's output is authoritative for the overlapping environment/device-capability fields it reports. It does not replace artifact-specific doca_telemetry_utils name↔ID resolution or reverse-resolution required by this skill's audit tuple.

  3. If the probe fails, fall back to the manual command in the row.

  4. The schemas the structured tools emit are defined in doca-structured-tools-contract ## Schemas (doca-structured-tools-contract/SKILL.md#schemas).

Purpose (class)Invocation (shape)Owning stepReads as healthy when …
Print help banner / documented flag surfacedoca_telemetry_utils (no args) + the public DOCA Telemetry Utils page## configure; ## debug layer 2Prints the documented inventory of subcommands and option shapes.
Enumerate the diagnostic-counter schemadoca_telemetry_utils get-counters## run step 2Prints every counter name DOCA understands on this install; the agent captures the output as the canonical catalog.
Resolve a name to a Data ID with propertiesdoca_telemetry_utils <name> <property-values> (re-run doca_telemetry_utils <name> first if property options are unknown)## run step 3Prints the (Data ID, Name, Unit, property-values) tuple.
Run a per-device support probedoca_telemetry_utils <device PCI> <name> <property-values>## run step 4Reports the resolved tuple + a "supported" / "not supported" answer for this device.
Reverse-resolve a Data IDdoca_telemetry_utils <DATA_ID> (0x-prefixed hex)## run step 5Prints the counter name + unit + property values that the Data ID encodes.

Three cross-cutting rules for this appendix:

  • Never invent a counter name, property value, or Data ID. --help on the installed binary, and the public DOCA Telemetry Utils page are the joint contract.

  • Round-trip before commit. Every counter committed to an exporter config is first run through name → ID → per-device probe → exporter → collector receipt → reverse-resolve. Skipping any step is the canonical silent-metric-drop failure.

  • Cross-link instead of duplicate. Cross- cutting commands (pkg-config --modversion doca-telemetry, doca_caps --list-devs, lspci for the BlueField PCI address) live in doca-debug ## debug (doca-debug/SKILL.md) and doca-setup TASKS.md ## debug (doca-setup/TASKS.md#debug); this appendix names only doca_telemetry_utils-specific invocation classes.

Cross-cutting

A few rules that apply across every verb in this file, restated here so they are visible at the point of action and not buried in SKILL.md:

  • The public DOCA Telemetry page plus the installed --help are the joint source of truth. When they disagree, the installed output wins for the user's actual run.

  • Exporters ship Data IDs, not names. Every counter in an exporter config is first resolved through this tool; a name in the config is a recipe for a silent metric drop.

  • Per-device support is mandatory before commit. A counter that resolves on the schema but is not supported on the target device produces no metric.

  • Re-resolve on DOCA upgrade. Every counter in every exporter config is re-resolved against the new install before the exporter pipeline is rolled forward.

  • **Quote the (DOCA version, BlueField identity

    • firmware, counter name, property values, resolved Data ID, per-device probe result) tuple.** Evidence without this tuple is unreplicable.

  • This skill assumes a healthy DOCA install with the Telemetry component and a BlueField visible to DOCA. If either is in doubt, route to doca-setup/SKILL.md before running anything else here.

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs Node.js

The author says: Requires DOCA SDK installed at /opt/mellanox/doca on Linux (Ubuntu 22.04/24.04 or RHEL/SLES) with the Telemetry optional component and a BlueField DPU visible to DOCA on a known PCI address. Invokes /opt/mellanox/doca/tools/doca_telemetry_utils; per-device probe typically requires elevated privileges. The validation steps require a live DOCA install.

Security

What our scanner noticed· Medium risk

  • Large base64-encoded blobs

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
NVIDIA
Publisher
NVIDIA (Official)
Source
NVIDIA/skills · skills/doca-telemetry-utils · commit fce3cca
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE-APACHE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by NVIDIA or NVIDIA.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download doca-telemetry-utils.zip