Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data JaegerCollectorOptions
- jaegerCollectorOptions :: Manager -> Text -> JaegerCollectorOptions
- jcoManager :: Lens' JaegerCollectorOptions Manager
- jcoServiceName :: Lens' JaegerCollectorOptions Text
- jcoServiceTags :: Lens' JaegerCollectorOptions Tags
- jcoAddr :: Lens' JaegerCollectorOptions (Addr 'HTTP)
- jcoErrorLog :: Lens' JaegerCollectorOptions (Builder -> IO ())
- defaultJaegerCollectorAddr :: Addr 'HTTP
- data JaegerCollector
- newJaegerCollector :: JaegerCollectorOptions -> IO JaegerCollector
- closeJaegerCollector :: JaegerCollector -> IO ()
- withJaegerCollector :: (MonadIO m, MonadMask m) => JaegerCollectorOptions -> (JaegerCollector -> m a) -> m a
- jaegerCollectorReporter :: MonadIO m => JaegerCollector -> FinishedSpan -> m ()
- jaegerPropagation :: Propagation '[TextMap, Headers]
- newManager :: ManagerSettings -> IO Manager
- defaultManagerSettings :: ManagerSettings
Documentation
jcoErrorLog :: Lens' JaegerCollectorOptions (Builder -> IO ()) Source #
data JaegerCollector Source #
closeJaegerCollector :: JaegerCollector -> IO () Source #
withJaegerCollector :: (MonadIO m, MonadMask m) => JaegerCollectorOptions -> (JaegerCollector -> m a) -> m a Source #
jaegerCollectorReporter :: MonadIO m => JaegerCollector -> FinishedSpan -> m () Source #
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