Agentic Data Plane

rpk ai trace span

Read a trace’s spans (list, get).

This command was introduced in ai version 0.2.100.

Usage

rpk ai trace span [flags]

Subcommands

Command Description

rpk ai trace span get

Print one span of a trace: its timing, tokens, policy decisions and error, then its content. A model call shows its system prompt, last user message and reply; a tool call shows its arguments and result.

rpk ai trace span list

List one trace’s spans, each followed by its children in start order. -o json and -o yaml print the spans as a list.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.