Skip to main content

TraceChunkData

from v9.4status Work-in-Progress

TraceChunkData is the parser-local normalized chunk payload accepted by TraceChunkStore.

import {type TraceChunkData} from '@deck.gl-community/trace-layers/trace';

Required fields

  • type: 'trace-chunk-data'
  • chunkKey
  • processes
  • spanTable
  • localDependencyTable
  • diagnostics
  • refState: 'parser-local'

Optional fields

  • spanSidecarTable
  • spanSidecarRows
  • sourceDependencyTable
  • rowWindowTable

Lifecycle

TraceChunkData belongs to the ingestion boundary. Give it to TraceChunkStore, then let the store finalize chunk refs, process/thread owner refs, source-id indexes, dependency indexes, and retained payload ownership.

Use stable external_span_id values and source dependency rows when hidden search, URL restore, or cross-chunk parent navigation must work.

See Incremental ingestion and TraceChunkStore.