confluent-kafka-go icon indicating copy to clipboard operation
confluent-kafka-go copied to clipboard

Are there any plans to support an open telemetry hook to the library?

Open naveenchlsn opened this issue 3 years ago • 4 comments

We need to write custom wrappers over producer and consumer to support open telemetry instrumentation. Libraries like go-redis support open telemetry hooks and clients can onboard instrumentation with a single line by configuring the hook. Are there plans to implement a similar hook for confluent? I would be happy to contribute if required.

naveenchlsn avatar Nov 22 '21 13:11 naveenchlsn

Can you please provide more details about what is expected to be reported?

jliunyu avatar Mar 29 '22 00:03 jliunyu

Hey there Any news from the year-ago + perspective?

There is an example for inspiration from DataDog -> https://github.com/DataDog/dd-trace-go/blob/main/contrib/confluentinc/confluent-kafka-go/kafka/kafka.go

That would be great if a commercially supported library, like this one, provides the ability to integrate with OpenTelemetry out of the box.

kurennoy16 avatar Jun 07 '23 09:06 kurennoy16