Replies: 3 comments 4 replies
-
/cc @alesj (kafka,kafka-streams), @brunobat (opentelemetry,tracing), @cescoffier (kafka), @gunnarmorling (kafka-streams), @ozangunalp (kafka,kafka-streams), @radcortez (opentelemetry,tracing), @rquinio (kafka-streams) |
Beta Was this translation helpful? Give feedback.
-
Give it a try. |
Beta Was this translation helpful? Give feedback.
-
I think 2. would be the way to go:
However in the Kafka consumer instrumentations I've seen, the receiver span is always closed on creation... About 1. Javaagent injection: I see warnings about the Java agent in Quarkus otel doc, and it won't work with GraalVM. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a recommended way to implement distributed tracing (opentelemetry) in kafka streams for quarkus?
There are a very nice quarkus guides for kafka streams and for opentelemetry:
https://quarkus.io/guides/kafka-streams
https://quarkus.io/guides/opentelemetry
For combining them however I haven't been able to find proper documentation.
As I understand it, the underlying issue is that the incoming traceID is not propagated to the statestores in kafkastreams.
I have found a couple approaches that might work:
(Although for the last one my team would need to rewrite our normal quarkus kafka services aswell, which do work mostly out of the box with opentelemetry)
Is there a recommended approach, or perhaps something on the roadmap for combining kafka streams and opentelemetry?
Beta Was this translation helpful? Give feedback.
All reactions