Callback that supplies trace data on behalf of <trace-visualizer>.
Set via the fetchCallback setter. The component invokes the callback
whenever a refetch is needed: on connect, when the data-url attribute
changes, and whenever an external filter value changes (subject to
autoFetch).
The callback may return either pre-built TraceData or a raw
LogEntry[]; in the latter case the component runs transformLogs (from transform.ts)
with the configured field mappings before rendering.
Callback that supplies trace data on behalf of
<trace-visualizer>.Set via the
fetchCallbacksetter. The component invokes the callback whenever a refetch is needed: on connect, when thedata-urlattribute changes, and whenever an external filter value changes (subject toautoFetch).The callback may return either pre-built TraceData or a raw
LogEntry[]; in the latter case the component runstransformLogs(fromtransform.ts) with the configured field mappings before rendering.