tracing-control: Distributed tracing

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

An OpenTracing-compliant, simple, and extensible distributed tracing library. This is a fork of tracing which switches from unliftio to monad-control.


[Skip to Readme]

Properties

Versions 0.0.6, 0.0.7.2, 0.0.7.2, 0.0.7.3
Change log None available
Dependencies aeson (>=1.4), base (>=4.9 && <5), base16-bytestring (>=1.0), bytestring (>=0.10), case-insensitive (>=1.2), containers (>=0.6), http-client (>=0.5), lifted-base (>=0.2), monad-control (>=1.0), mtl (>=2.2), network (>=2.8), random (>=1.1), stm (>=2.5), stm-lifted (>=2.5), text (>=1.2), time (>=1.8 && <1.10), transformers (>=0.5), transformers-base (>=0.4) [details]
License BSD-3-Clause
Copyright 2020 Matthieu Monsch
Author Matthieu Monsch, Alejandro Serrano
Maintainer alejandro.serrano@47deg.com
Category Web
Home page https://github.com/serras/tracing
Source repo head: git clone https://github.com/serras/tracing
Uploaded by AlejandroSerrano at 2021-11-18T15:00:11Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for tracing-control-0.0.7.2

[back to package description]

Tracing Hackage

Important note: this is a fork of the original tracing library in which unliftio has been replaced by monad-control.

An OpenTracing-compliant, simple, and extensible distributed tracing library.

import Monitor.Tracing

-- A traced action with its root span and two children.
run :: MonadTrace m => m ()
run = rootSpan alwaysSampled "parent" $ do
  childSpan "child-a" runA
  childSpan "child-b" runB

To learn more, hop on over to Monitor.Tracing, or take a look at examples in the examples/ folder.