hey all, curious if there is advice for instrumenting an transducers and async pipelines? i have a some code like this but i'm not sure what's the best way to instrument something roughly like this:
(def in (my-kafka-steam))
(def out (my-database))
(def xf (comp (map foo) (map bar) (filter baz?)))
(def pipeline (async/pipeline-blocking 10 out xf in))You may want to look at the https://github.com/steffan-westcott/clj-otel/tree/master/examples/word-stream-app. It's a core.async.flow application that includes :context in step function outputs. This way, a trace may be constructed of spans representing step function evaluations.
thank you, i will take a look!