OptionalautoWhether external filter changes auto-trigger fetch (default true). When false, a "Search" button is rendered.
OptionalbackgroundContainer background color (CSS value, default "#ffffff")
OptionalcolorSpanKind → color map for span bars and legend
OptionaldataURL to fetch trace/log data from
OptionaldefaultDefault SpanKind when no rule matches or no rules are configured. Accepts a SpanKind name (e.g. "Internal", "Server") or numeric value (0-5). Defaults to "Unspecified".
OptionaldetailCSS width of the detail side-panel (default "40%")
OptionalendDot-path to an explicit end-time field, if available
OptionalfilterFilter field definitions. Can be set programmatically or via
OptionalfullStretch to fill parent width (default false)
OptionalheightMinimum container height in pixels (0 = fit content)
OptionalparentDot-path to a field providing parent-child hierarchy between spans
OptionalparentDot-path(s) whose values identify the parent span's group fields (partial match). Positionally corresponds to spanGroupFields — e.g. ["text.InitiatingApplication"] matches the first component of spanGroupFields. Resolved after all spans are built: first tries encompassing span, then latest-before.
OptionalserviceDot-path to the field that determines the service/resource row (e.g. "text.MachineName")
OptionalshowShow the span-kind color legend (default false)
OptionalspanDot-path(s) that group logs into spans within a trace. If omitted, each log becomes its own span.
OptionalspanPixel height of each span bar (default 30)
OptionalspanDot-path to a unique log identifier (used in one-log-per-span mode)
OptionalspanRules for determining SpanKind from log field values.
Each rule has match (dot-path→value pairs, all must match) and kind (SpanKind name).
First matching rule wins; default is defaultSpanKind or Unspecified.
OptionalspanDot-path to the field used as the span name/label (e.g. "text.Action")
OptionalspanPixel spacing between span rows (default 5)
OptionalstatusDot-path to an error-code field (e.g. "text.Code"). If any log in a span has a non-zero / truthy value, the span status is Error.
OptionaltimestampDot-path to the timestamp field (ISO 8601 or epoch-ms)
OptionaltraceDot-path to the field that groups logs into traces (e.g. "text.BTMID")
OptionalwidthContainer width in pixels (0 = fit container)
Unified runtime configuration for the
<trace-visualizer>Web Component.Every field maps 1:1 to a kebab-case HTML attribute on the custom element, so the same options can be set declaratively from markup or imperatively via the
configsetter. The interface deliberately mixes two concerns:traceIdField,spanGroupFields,spanNameField,serviceNameField,timestampField, etc.) tell the component how to map raw log records onto the OTel span model. They are required only when feeding the component logs rather than pre-built TraceData.width,height,colorScheme,showLegend,detailPanelWidth, etc.) control rendering. Defaults are applied by resolveDisplayDefaults.All fields are optional so a single shared type can describe both the declarative attribute surface and the resolved runtime config. TransformConfig narrows it to the transform-required subset.