TraceMiddleware
object TraceMiddleware
Value members
Concrete methods
def apply[F[_]](entryPoint: EntryPoint[F], configuration: Configuration[F])(service: HttpApp[[_] =>> Kleisli[F, Span[F], _$5]])(implicit F: Sync[F]): HttpApp[F]
Wrap the given traced HTTP4s routes and upon receiving requests create a new trace and pass the root span to the routes
Wrap the given traced HTTP4s routes and upon receiving requests create a new trace and pass the root span to the routes
Given a URI produce its path but with any segments containing only two or more numbers replace with an underscore. This is to stop things like Account IDs showing up in URLs
Given a URI produce its path but with any segments containing only two or more numbers replace with an underscore. This is to stop things like Account IDs showing up in URLs