Should resolve https://github.com/mtth/tracing/issues/6. I hope you like the style/refactoring, If not don't hesitate to propose improvements/changes - or just change it 😉
Maybe more convenience methods should be added - e.g. to name a consumer you have to write code like ZPK.consumerSpanWith (\bldr -> bldr { TC.builderName = "consumer" }). But one step at a time.
Should resolve https://github.com/mtth/tracing/issues/6. I hope you like the style/refactoring, If not don't hesitate to propose improvements/changes - or just change it 😉
Maybe more convenience methods should be added - e.g. to name a consumer you have to write code like
ZPK.consumerSpanWith (\bldr -> bldr { TC.builderName = "consumer" })
. But one step at a time.