object Span extends GeneratedMessageCompanion[Span]
- Alphabetic
- By Inheritance
- Span
- GeneratedMessageCompanion
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
Event(timeUnixNano: Long = 0L, name: String = "", attributes: Seq[KeyValue] = _root_.scala.Seq.empty, droppedAttributesCount: Int = 0, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Event] with Product with Serializable
Event is a time-stamped annotation of the span, consisting of user-supplied text description and key-value pairs.
Event is a time-stamped annotation of the span, consisting of user-supplied text description and key-value pairs.
- timeUnixNano
time_unix_nano is the time the event occurred.
- name
name of the event. This field is semantically required to be set to non-empty string.
- attributes
attributes is a collection of attribute key/value pairs on the event. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key).
- droppedAttributesCount
dropped_attributes_count is the number of dropped attributes. If the value is 0, then no attributes were dropped.
- Annotations
- @SerialVersionUID()
-
final
case class
Link(traceId: ByteString = ..., spanId: ByteString = ..., traceState: String = "", attributes: Seq[KeyValue] = _root_.scala.Seq.empty, droppedAttributesCount: Int = 0, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Link] with Product with Serializable
A pointer from the current span to another span in the same trace or in a different trace.
A pointer from the current span to another span in the same trace or in a different trace. For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.
- traceId
A unique identifier of a trace that this linked span is part of. The ID is a 16-byte array.
- spanId
A unique identifier for the linked span. The ID is an 8-byte array.
- traceState
The trace_state associated with the link.
- attributes
attributes is a collection of attribute key/value pairs on the link. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key).
- droppedAttributesCount
dropped_attributes_count is the number of dropped attributes. If the value is 0, then no attributes were dropped.
- Annotations
- @SerialVersionUID()
-
sealed abstract
class
SpanKind extends GeneratedEnum
SpanKind is the type of span.
SpanKind is the type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship.
- implicit class SpanLens[UpperPB] extends ObjectLens[UpperPB, Span]
-
type
ValueType = Span
- Definition Classes
- GeneratedMessageCompanion
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val ATTRIBUTES_FIELD_NUMBER: Int(9)
- final val DROPPED_ATTRIBUTES_COUNT_FIELD_NUMBER: Int(10)
- final val DROPPED_EVENTS_COUNT_FIELD_NUMBER: Int(12)
- final val DROPPED_LINKS_COUNT_FIELD_NUMBER: Int(14)
- final val END_TIME_UNIX_NANO_FIELD_NUMBER: Int(8)
- final val EVENTS_FIELD_NUMBER: Int(11)
- final val KIND_FIELD_NUMBER: Int(6)
- final val LINKS_FIELD_NUMBER: Int(13)
- final val NAME_FIELD_NUMBER: Int(5)
- final val PARENT_SPAN_ID_FIELD_NUMBER: Int(4)
- final val SPAN_ID_FIELD_NUMBER: Int(2)
- final val START_TIME_UNIX_NANO_FIELD_NUMBER: Int(7)
- final val STATUS_FIELD_NUMBER: Int(15)
- final val TRACE_ID_FIELD_NUMBER: Int(1)
- final val TRACE_STATE_FIELD_NUMBER: Int(3)
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
lazy val
defaultInstance: Span
- Definition Classes
- Span → GeneratedMessageCompanion
-
def
enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
-
def
enumCompanionForFieldNumber(__fieldNumber: Int): GeneratedEnumCompanion[_]
- Definition Classes
- Span → GeneratedMessageCompanion
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fromAscii(s: String): Span
- Definition Classes
- GeneratedMessageCompanion
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
javaDescriptor: Descriptor
- Definition Classes
- Span → GeneratedMessageCompanion
-
def
merge(a: Span, input: CodedInputStream): Span
- Definition Classes
- GeneratedMessageCompanion
- implicit def messageCompanion: GeneratedMessageCompanion[Span]
-
def
messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
-
def
messageCompanionForFieldNumber(__number: Int): GeneratedMessageCompanion[_]
- Definition Classes
- Span → GeneratedMessageCompanion
-
implicit
def
messageReads: Reads[Span]
- Definition Classes
- Span → GeneratedMessageCompanion
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
lazy val
nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]
- Definition Classes
- Span → GeneratedMessageCompanion
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def of(traceId: ByteString, spanId: ByteString, traceState: String, parentSpanId: ByteString, name: String, kind: SpanKind, startTimeUnixNano: Long, endTimeUnixNano: Long, attributes: Seq[KeyValue], droppedAttributesCount: Int, events: Seq[Event], droppedEventsCount: Int, links: Seq[Link], droppedLinksCount: Int, status: Option[Status]): Span
-
def
parseDelimitedFrom(input: InputStream): Option[Span]
- Definition Classes
- GeneratedMessageCompanion
-
def
parseDelimitedFrom(input: CodedInputStream): Option[Span]
- Definition Classes
- GeneratedMessageCompanion
-
def
parseFrom(_input__: CodedInputStream): Span
- Definition Classes
- Span → GeneratedMessageCompanion
-
def
parseFrom(s: Array[Byte]): Span
- Definition Classes
- GeneratedMessageCompanion
-
def
parseFrom(input: InputStream): Span
- Definition Classes
- GeneratedMessageCompanion
-
def
scalaDescriptor: Descriptor
- Definition Classes
- Span → GeneratedMessageCompanion
-
def
streamFromDelimitedInput(input: InputStream): Stream[Span]
- Definition Classes
- GeneratedMessageCompanion
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toByteArray(a: Span): Array[Byte]
- Definition Classes
- GeneratedMessageCompanion
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validate(s: Array[Byte]): Try[Span]
- Definition Classes
- GeneratedMessageCompanion
-
def
validateAscii(s: String): Either[TextFormatError, Span]
- Definition Classes
- GeneratedMessageCompanion
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Event extends GeneratedMessageCompanion[Event]
- object Link extends GeneratedMessageCompanion[Link]
- object SpanKind extends GeneratedEnumCompanion[SpanKind]
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated