Skip to main content

Trace Objects

from v9.4status Work-in-Progress

The normalized object family describes what happened in a trace. These objects do not carry render geometry.

import type {
TraceCounter,
TraceCrossProcessDependency,
TraceInstant,
TraceLocalDependency,
TraceObject,
TracePath,
TraceProcess,
TraceSpan,
TraceThread
} from '@deck.gl-community/trace-layers/trace';

Major types

TypeMeaning
TraceProcessTop-level visible row group such as a process, rank, host, or execution partition
TraceThreadChild stream such as a thread, queue, CUDA stream, or logical lane
TraceSpanDuration-bearing timeline object with one or more timing projections
TraceInstantPoint-in-time event
TraceCounterSampled value over time
TraceLocalDependencyDependency between spans in one process
TraceCrossProcessDependencyDependency between spans in different processes
TraceCrossProcessEndpointStitchable endpoint used before a cross-process dependency is complete
TracePathSelected or computed path through spans and visible dependencies
TraceObjectUnion used by selection, tooltip, and generic trace UI surfaces

Timing projections

TraceSpan.timings lets one logical span carry multiple timing projections. primaryTimingKey or a higher-level timing selection decides which projection layout uses.

userData

Use optional userData for source-specific metadata that must survive normalization without polluting the shared top-level schema.

See Data model and Trace IDs and refs.