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

Safe HaskellNone
LanguageHaskell2010

Datadog.Client

Description

An HTTP Client to post data to a datadog agent.

Many of our refinements are stricter than the actual requirements, to err on the side of caution, and because the actual requirements are very complex.

Documentation

newtype SpanId Source #

Constructors

SpanId (Refined NonZero Word64) 

newtype TraceId Source #

Constructors

TraceId (Refined NonZero Word64) 

newtype MetaKey Source #

Constructors

MetaKey (Refined (DDText && Tag) Text) 
Instances
Eq MetaKey Source # 
Instance details

Defined in Datadog.Client

Methods

(==) :: MetaKey -> MetaKey -> Bool #

(/=) :: MetaKey -> MetaKey -> Bool #

Ord MetaKey Source # 
Instance details

Defined in Datadog.Client

newtype MetaValue Source #

Constructors

MetaValue (Refined DDText Text) 

data Tag Source #

Instances
Predicate Tag Text Source # 
Instance details

Defined in Datadog.Client

Methods

validate :: Monad m => Tag -> Text -> RefineT m () #

data HasAlpha Source #

Instances
Predicate HasAlpha Text Source # 
Instance details

Defined in Datadog.Client

Methods

validate :: Monad m => HasAlpha -> Text -> RefineT m () #

validate' :: (Typeable t, Monad m, Show a) => t -> (a -> Bool) -> a -> RefineT m () Source #