TracingEvent

@Serializable
sealed class TracingEvent

Inheritors

Types

Link copied to clipboard
@Serializable
data class BufferUsage(val percentFull: Double? = null, val eventCount: Double? = null, val value: Double? = null) : TracingEvent

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class DataCollected(val value: List<JsonObject>) : TracingEvent

Contains a bucket of collected trace events. When tracing is stopped collected events will be sent as a sequence of dataCollected events followed by tracingComplete event.

Link copied to clipboard
@Serializable
data class TracingComplete(val dataLossOccurred: Boolean, val stream: StreamHandle? = null, val traceFormat: StreamFormat? = null, val streamCompression: StreamCompression? = null) : TracingEvent

Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.