Optional ReadonlydescriptionShort description of what this provider offers.
Optional ReadonlydisplayHuman-readable name shown when choosing between providers.
ReadonlyidUniquely identifies this instance, even when multiple providers of the same type are used.
Returns compact summaries for every trace known to this provider, newest first. Used to populate the Traces sidebar.
Returns the trace with the given ID together with all of its spans, or
undefined when the trace is unknown.
OptionalsubscribeSubscribes to real-time updates for a specific trace. The callback is invoked for every Span change on this trace, for as long as the returned cleanup function has not been called.
Optional — providers that cannot track live changes may omit it.
A no-argument function that cancels the subscription.
OptionalwatchRegisters a callback invoked whenever a trace is added, updated, or removed. Used by the sidebar to stay in sync without polling.
Optional — providers that cannot detect live changes may omit it.
A no-argument function that unregisters the watcher.
A read-only store of execution traces that the playground can display and subscribe to in real time. Implement this interface to integrate a tracing backend.
TraceProvideris a pure read interface — populating the store is the job of aTraceIngestor, which feeds normalized spans into the provider's write side (TraceSink, implemented byBaseTraceProvider).