datadog-tracing-1.1.0: Datadog tracing client and mock agent.

Safe HaskellNone
LanguageHaskell2010

Datadog.Agent

Contents

Description

A model of the API provided by https://github.com/DataDog/datadog-agent

Synopsis

if there is a trace ID discrepancy between 2 spans

if two spans have the same span_id

if it is empty

if trace_id or span_id is 0

if service is empty or longer than 100 chars after applying

if name is empty, doesn't have any alphabetic chars, or is longer than

if type is empty or longer than 100 chars after attempting to correct

if the span duration is less than 0 or longer than 10 minutes

if the resource is not valid UTF-8 and cannot be fixed. The upstream

if the start is before 2000-01-01

type Traces4 = "v0.4" :> ("traces" :> (ReqBody '[JSON] [Trace] :> Put '[JSON] TraceResponse)) Source #

type Traces3 = "v0.3" :> ("traces" :> (ReqBody '[JSON] [Trace] :> Put '[JSON] ())) Source #

newtype Trace Source #

Constructors

Trace [Span] 
Instances
ToJSON Trace Source # 
Instance details

Defined in Datadog.Agent

FromJSON Trace Source # 
Instance details

Defined in Datadog.Agent

data Span Source #

Instances
Generic Span Source # 
Instance details

Defined in Datadog.Agent

Associated Types

type Rep Span :: Type -> Type #

Methods

from :: Span -> Rep Span x #

to :: Rep Span x -> Span #

Arbitrary Span Source # 
Instance details

Defined in Datadog.Agent

Methods

arbitrary :: Gen Span #

shrink :: Span -> [Span] #

ToJSON Span Source # 
Instance details

Defined in Datadog.Agent

FromJSON Span Source # 
Instance details

Defined in Datadog.Agent

type Rep Span Source # 
Instance details

Defined in Datadog.Agent