Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type WithTracing = Header "uber-trace-id" TracingInstructions
- data TracingInstructions = TracingInstructions {}
- instructionsToHeader :: TracingInstructions -> Text
- getInstructions :: MonadIO m => Bool -> Maybe TracingInstructions -> m TracingInstructions
Documentation
type WithTracing = Header "uber-trace-id" TracingInstructions Source #
Constrain the ServerT'
s base monad such that it provides an instance of MonadTracer
data TracingInstructions Source #
Instructions that are specific to a single trace
Instances
Eq TracingInstructions Source # | |
Defined in Tracing.Core (==) :: TracingInstructions -> TracingInstructions -> Bool # (/=) :: TracingInstructions -> TracingInstructions -> Bool # | |
Show TracingInstructions Source # | |
Defined in Tracing.Core showsPrec :: Int -> TracingInstructions -> ShowS # show :: TracingInstructions -> String # showList :: [TracingInstructions] -> ShowS # | |
FromHttpApiData TracingInstructions Source # | |
Defined in Servant.Tracing |
instructionsToHeader :: TracingInstructions -> Text Source #
Jaeger format: http://jaeger.readthedocs.io/en/latest/client_libraries/#propagation-format This allows the trace backend to reassemble downstream traces.
getInstructions :: MonadIO m => Bool -> Maybe TracingInstructions -> m TracingInstructions Source #
In the event that there are no TracingInstructions
for this call, generate new instructions.
This has a