ListOfSpans

class ListOfSpans(spans: List<Span> = emptyList(), tags: List<KeyValue> = emptyList(), unknownFields: ByteString = ByteString.EMPTY) : Message<ListOfSpans, Nothing>

List of spans is a message to send multiple spans in a single call. Any tags specified in this call will be added to all the spans sent in this message. If the list of spans is empty, this message will be ignored even if tags field is set.

Constructors

Link copied to clipboard
constructor(spans: List<Span> = emptyList(), tags: List<KeyValue> = emptyList(), unknownFields: ByteString = ByteString.EMPTY)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adapter: ProtoAdapter<ListOfSpans>
Link copied to clipboard

A list of spans.

Link copied to clipboard

A list of tags common to all the spans in this request. All these tags will be added for all the spans sent in this request. Sending common tags this way is more network efficient.

Link copied to clipboard
val unknownFields: ByteString

Functions

Link copied to clipboard
fun copy(spans: List<Span> = this.spans, tags: List<KeyValue> = this.tags, unknownFields: ByteString = this.unknownFields): ListOfSpans
Link copied to clipboard
fun encode(stream: OutputStream)
fun encode(sink: BufferedSink)
Link copied to clipboard
fun encodeByteString(): ByteString
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard