mtth / tracing

Distributed tracing
https://hackage.haskell.org/package/tracing
BSD 3-Clause "New" or "Revised" License
24 stars 11 forks source link

consumerSpan should use B3 as parent reference. #7

Closed alaendle closed 3 years ago

alaendle commented 3 years ago

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.

mtth commented 3 years ago

Merged and released as 0.0.6.0 - thanks for the fix @alaendle!