File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
src/commonMain/kotlin/spp.protocol/instrument/span/event Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ package spp.protocol.instrument.span.event
2+
3+ import kotlinx.datetime.Instant
4+ import kotlinx.serialization.Serializable
5+ import spp.protocol.Serializers
6+ import spp.protocol.artifact.exception.LiveStackTrace
7+ import spp.protocol.instrument.LiveInstrumentEventType
8+ import spp.protocol.instrument.TrackedLiveEvent
9+
10+ /* *
11+ * todo: description.
12+ *
13+ * @author [Brandon Fergerson](mailto:bfergerson@apache.org)
14+ */
15+ @Serializable
16+ data class LiveSpanRemoved (
17+ val spanId : String ,
18+ @Serializable(with = Serializers .InstantKSerializer ::class )
19+ override val occurredAt : Instant ,
20+ val cause : LiveStackTrace ? = null
21+ ) : TrackedLiveEvent {
22+ val eventType: LiveInstrumentEventType = LiveInstrumentEventType .SPAN_REMOVED
23+ }
You can’t perform that action at this time.
0 commit comments