freckle-app-1.15.5.0: Haskell application toolkit used at Freckle
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Wai.Middleware.OpenTelemetry

Synopsis

Documentation

newOpenTelemetryWaiMiddleware :: IO Middleware Source #

Deprecated: Use OpenTelemetry.Instrumentation.Wai.newOpenTelemetryWaiMiddleware

openTelemetryMiddleware :: Middleware Source #

Deprecated: Use addThreadContextFromTracing

Add TraceId information to context and responses

  • Adds trace_id to the logging context
  • Adds X-Datadog-TraceId to response headers

This is added automatically by our newOpenTelemetryWaiMiddleware.