Span
class Span(val id: ByteString = ByteString.EMPTY, val parent_id: ByteString = ByteString.EMPTY, val trace_id: ByteString = ByteString.EMPTY, val name: String = "", val start_timestamp_micros: Long = 0, val duration_micros: Long = 0, tags: List<KeyValue> = emptyList(), unknownFields: ByteString = ByteString.EMPTY) : Message<Span, Nothing>
A span defines a single event in a trace. This span format is inspired by the zipkin span design at: https://github.com/openzipkin/zipkin-api/blob/master/zipkin.proto
Properties
Link copied to clipboard
This field stored the duration in microseconds for the event in the critical path. For example 150 milliseconds is 150000 microseconds. This field is required.
Link copied to clipboard
The timestamp field stores the epoch microseconds at which this event happened. For example: a value of 1551849569000000 represents March 6, 2019 5:19:29 UTC. We use fixed64 since it is more wire efficient for than int64 for larger numbers. This field is required.
Link copied to clipboard
Functions
Link copied to clipboard
fun copy(id: ByteString = this.id, parent_id: ByteString = this.parent_id, trace_id: ByteString = this.trace_id, name: String = this.name, start_timestamp_micros: Long = this.start_timestamp_micros, duration_micros: Long = this.duration_micros, tags: List<KeyValue> = this.tags, unknownFields: ByteString = this.unknownFields): Span
Link copied to clipboard
Link copied to clipboard