opentracing-zipkin-v1-0.1.0.0: Zipkin V1 backend for OpenTracing
Safe HaskellNone
LanguageHaskell2010

OpenTracing.Zipkin.V1.HttpReporter

Synopsis

Documentation

withZipkin :: (MonadIO m, MonadMask m) => ZipkinOptions -> (Zipkin -> m a) -> m a Source #

data Endpoint #

Constructors

Endpoint 

Instances

Instances details
Eq Endpoint 
Instance details

Defined in OpenTracing.Zipkin.Types

Show Endpoint 
Instance details

Defined in OpenTracing.Zipkin.Types

Generic Endpoint 
Instance details

Defined in OpenTracing.Zipkin.Types

Associated Types

type Rep Endpoint :: Type -> Type #

Methods

from :: Endpoint -> Rep Endpoint x #

to :: Rep Endpoint x -> Endpoint #

ToJSON Endpoint 
Instance details

Defined in OpenTracing.Zipkin.Types

type Rep Endpoint 
Instance details

Defined in OpenTracing.Zipkin.Types

type Rep Endpoint = D1 ('MetaData "Endpoint" "OpenTracing.Zipkin.Types" "opentracing-zipkin-common-0.1.0.0-Au2EOhh54yY8ntR72m0h20" 'False) (C1 ('MetaCons "Endpoint" 'PrefixI 'True) ((S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "ipv4") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IPv4)) :*: (S1 ('MetaSel ('Just "ipv6") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IPv6)) :*: S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Port)))))

newManager :: ManagerSettings -> IO Manager #

Create a Manager. The Manager will be shut down automatically via garbage collection.

Creating a new Manager is a relatively expensive operation, you are advised to share a single Manager between requests instead.

The first argument to this function is often defaultManagerSettings, though add-on libraries may provide a recommended replacement.

Since 0.1.0

defaultManagerSettings :: ManagerSettings #

Default value for ManagerSettings.

Note that this value does not have support for SSL/TLS. If you need to make any https connections, please use the http-client-tls package, which provides a tlsManagerSettings value.

Since 0.1.0