Open doron-cohen opened 1 year ago
Hi,
I would also need instrumentation for sarama.ConsumerGroupHandler
and there was at least some work done in https://github.com/DataDog/dd-trace-go/pull/1394 pull request.
Otelsarama example was removed, this looks like the last version with it present.
Hi,
Currently under the sarama instrumentation for consuming from Kafka only
sarama.Consumer
andsarama.PartitionConsumer
are supported. There is alsosarama.ConsumerGroupHandler
which is important for instrumenting consumer group consumers.Since we are using Watermill as a wrapper to our Kafka consuming we don't get traces for
kafka.consume
since it wraps the consumer group handler when a consumer group is used.There is a reference implementation in the OTEL Go repo which I use locally and I could contribute to this repo.