gcp4s.trace.model

Type members

Classlikes

final case class Annotation(attributes: Option[Attributes], description: Option[TruncatableString])
final case class AttributeValue(intValue: Option[Long], stringValue: Option[TruncatableString], boolValue: Option[Boolean])
final case class Attributes(droppedAttributesCount: Option[Int], attributeMap: Option[Map[String, AttributeValue]])
final case class BatchWriteSpansRequest(spans: Option[List[Span]])
final case class Empty()
final case class Link(spanId: Option[String], `type`: Option["TYPE_UNSPECIFIED" | "CHILD_LINKED_SPAN" | "PARENT_LINKED_SPAN"], attributes: Option[Attributes], traceId: Option[String])
final case class Links(link: Option[List[Link]], droppedLinksCount: Option[Int])
final case class MessageEvent(`type`: Option["TYPE_UNSPECIFIED" | "SENT" | "RECEIVED"], uncompressedSizeBytes: Option[Long], id: Option[Long], compressedSizeBytes: Option[Long])
final case class Module(module: Option[TruncatableString], buildId: Option[TruncatableString])
final case class Span(displayName: Option[TruncatableString], timeEvents: Option[TimeEvents], name: Option[String], startTime: Option[String], spanId: Option[String], stackTrace: Option[StackTrace], attributes: Option[Attributes], endTime: Option[String], links: Option[Links], status: Option[Status], childSpanCount: Option[Int], sameProcessAsParentSpan: Option[Boolean], spanKind: Option["SPAN_KIND_UNSPECIFIED" | "INTERNAL" | "SERVER" | "CLIENT" | "PRODUCER" | "CONSUMER"], parentSpanId: Option[String])
final case class StackFrame(functionName: Option[TruncatableString], loadModule: Option[Module], originalFunctionName: Option[TruncatableString], fileName: Option[TruncatableString], lineNumber: Option[Long], columnNumber: Option[Long], sourceVersion: Option[TruncatableString])
final case class StackFrames(droppedFramesCount: Option[Int], frame: Option[List[StackFrame]])
final case class StackTrace(stackFrames: Option[StackFrames], stackTraceHashId: Option[Long])
final case class Status(code: Option[Int], details: Option[List[Map[String, Json]]], message: Option[String])
final case class TimeEvent(time: Option[String], annotation: Option[Annotation], messageEvent: Option[MessageEvent])
final case class TimeEvents(droppedAnnotationsCount: Option[Int], timeEvent: Option[List[TimeEvent]], droppedMessageEventsCount: Option[Int])
final case class TruncatableString(truncatedByteCount: Option[Int], value: Option[String])