com.ovoenergy.natchez.extras.datadog

Members list

Type members

Classlikes

object Datadog

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Datadog.type
case class DatadogSpan[F[_]](names: SpanNames, ids: Ref[F, SpanIdentifiers], start: Long, queue: Queue[F, SubmittableSpan], meta: Ref[F, Map[String, TraceValue]])(implicit evidence$1: Async[F]) extends Span[F]

Models an in-progress span we'll eventually send to Datadog. We have a trace token as well as a trace ID because Datadog mandates that trace IDs are numeric while we interact with systems that provide non numeric trace tokens

Models an in-progress span we'll eventually send to Datadog. We have a trace token as well as a trace ID because Datadog mandates that trace IDs are numeric while we interact with systems that provide non numeric trace tokens

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Span[F]
class Object
trait Matchable
class Any
Show all
object DatadogSpan

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object DatadogTags

Some helper functions to construct Datadog tags, I took these from the DD-Trace-Java library

Some helper functions to construct Datadog tags, I took these from the DD-Trace-Java library

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class SpanIdentifiers(traceId: UnsignedLong, spanId: UnsignedLong, parentId: Option[UnsignedLong], traceToken: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
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

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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type