com.ovoenergy.natchez.extras.datadog.SubmittableSpan
See theSubmittableSpan companion object
case class SubmittableSpan(traceId: UnsignedLong, spanId: UnsignedLong, name: String, service: String, resource: String, `type`: Option[SpanType], start: Long, duration: Long, parentId: Option[UnsignedLong], error: Option[Int], meta: Map[String, String], metrics: Map[String, Double])
This is the type we need to send to the Datadog agent to submit traces. Turning a span into one of these involves some trickery with tags, hence this being its own file now
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any