The configuration: attributes and <trace-filter> and <span-kind-rule> children, with what
was assigned to the property on top. Assigning merges field by field; a field set to
undefined falls back to its attribute. (Declared views come from <trace-view> children.)
Merge programmatic configuration fields over attribute-derived defaults (undefined restores the attribute value).
Supplies the data for external filters, instead of fetching data-url with query parameters.
Set or clear (null) the external-filter data fetch callback.
The ids of the selected spans.
The shared store: selection, collapse and filter state, and the loaded trace. Experimental.
The id of the view being shown. Setting it switches the view (and the view attribute follows).
Switch the active view by id (falling back to the default view when unknown) and synchronize the view attribute.
StaticobservedHTML attribute names observed for reactive updates.
Custom Element lifecycle hook invoked when an observed HTML attribute changes.
Collapse every span that has children.
Custom Element lifecycle hook invoked when <trace-visualizer> connects to a document.
Custom Element lifecycle hook invoked when <trace-visualizer> disconnects from a document.
Expand every span.
Fetch a JSON array of raw logs, transform it and show the result. Errors are shown in the view.
Fetch a JSON file of OTel trace data and show it. Errors are shown in the view, not thrown.
Read the theme tokens again and repaint: after the host changed a --l2t-* property from script.
Select a span and, by default, bring it into view. Does not fire span-selected.
Show a stretch of time (ms after the start of the trace), or the whole trace with null.
Custom element backing the
<trace-visualizer>tag.