End to end tracing system for Http4s -> https://http4s-tracer.profunktor.dev/
Hi All,
I'm giving http4s-tracer a try for a project that I have.
I'd like to know how I can create a Tracer class that needs to override a method whose return type is a monad transformers such as EitherT
or OptionT
.
For instance, let's say I have an Interpreter with the following method:
def find(reference: String): EitherT[F, Error, Unit]
What will be the signature of this method in my TracerInterpreter?
def find(reference: String): Trace[F, EitherT[F, Error, Unit]]
I'm struggling finding the right signature and the right implementation for it.
def find(reference: String): F[Either[Error, Unit]]
def find(reference: String): Trace[F, Either[Error, Unit]]