Skip to main content
Version: 2.0.0

tdk metrics show

Per-collection (or per-group) operational summary over the window.

Renders one row per (dim_entity, status) with Runs / Txns / Tables in / Rows in / Tables out / Rows out (bytes columns added when any non-zero). Edges are dropped from the rendering — they belong in a flow visualization; use -o json for the raw shape.

tdk metrics show \
--proj quickstart \
--dim collection \
--unit hour \
--align calendar \
--from from-example \
--span 7d \
--collection sales_data \
--collection-exclude staging_data \
--group sources \
--group-exclude destinations \
--status status-example \
--format table
FlagTypeRequiredDescription
--proj, -PstringOptionalProject to target; overrides the pinned project. Prompted for when a command needs one and neither is set.
--dimcollection | groupOptionalBreakout dimension. Defaults to collection server-side.
--unithour | day | week | month | quarter | yearOptionalWindow unit. Defaults to day server-side.
--aligncalendar | rollingOptionalcalendar (default) snaps the start of the window to the calendar-unit boundary containing from (week/month/quarter/year-to-date); rolling is a fixed span*unit-long window ending exactly at from.
--fromstringOptionalRight edge of the window (UTC epoch ms, exclusive). Defaults to server-now. Pass a past instant to look at a past window.
--spanstringOptionalWindow width in units. Default 1.
--collectionstringOptionalComma-separated collection ids to include.
--collection-excludestringOptionalComma-separated collection ids to exclude.
--groupstringOptionalComma-separated group ids to include.
--group-excludestringOptionalComma-separated group ids to exclude.
--statusstringOptionalComma-separated function run statuses to include (e.g. C,D,E).
-o, --formattable | json | yamlOptionalOutput format. Defaults to table.