Stream.eval(Kleisli.ask).flatMap(span => Stream.resource(span.subspan("name"))) >> innerStream
F[_] : Tracethere's no way to have
Stream[F, A]that embeds a subspan without wrapping in an
F[_]given the present
TraceAPI, unless I specifically assume that
Kleisli, is this correct? If so this seems to be a bit of a pain point for writing transparent wrappers around other libs that inolve
Stream, perhaps the API could be adjusted to accomodate scenarios like this?
Traceconstraint place nice with
munit-cats-effectbetween various projects and I was wondering if it would make sense to A. add an munit module to Natchez, B. add a Natchez module to munit-cats-effect, C. create a library independent of the two or D. not bother cos its only a wee bit of code
That was silly of me. I was messaging the Skunk room instead of here... total accident! Sorry.
At work I do a fair bit of dashboarding and it helps to write out the objects as JSON in the logs to write some more complex queries without regex or other manipulation. Curious what others consider best practise, and also if you use middleware to log all incoming request + response bodies?