Agentic Data Plane

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.

This command was introduced in ai version 0.2.100.

Usage

rpk ai trace span list [flags]

Examples

This section provides examples of how to use rpk ai trace span list.

rpk ai trace span list 4623d104a1415a48987e2659e9a9131b --ids
rpk ai trace span list 4623d104a1415a48987e2659e9a9131b -o json | jq '.[] | select(.error)'

Flags

Value Type Description

--ids

bool

add the span id column, for trace span get.

--start-time

string

the trace’s start time (RFC 3339), so the server can skip older history.

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.