DatadogTags

com.ovoenergy.natchez.extras.datadog.DatadogTags$

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

object SpanType

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait SpanType

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Cache.type
object Custom.type
object Db.type
object Web.type

Value members

Concrete methods

def env(env: String): (String, TraceValue)
def errorMessage(what: String): (String, TraceValue)
def errorStack(what: String): (String, TraceValue)
def errorType(what: String): (String, TraceValue)
def forThrowable(e: Throwable): Map[String, TraceValue]
def httpMethod(method: String): (String, TraceValue)
def httpStatusCode(code: Int): (String, TraceValue)
def httpUrl(url: String): (String, TraceValue)
def serviceName(name: String): (String, TraceValue)
def spanType(spanType: SpanType): (String, TraceValue)
def sqlQuery(query: String): (String, TraceValue)