question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Distributed tracing story with Confluent Kafka client

See original GitHub issue

Greetings!

I’m using OpenTelemetry to instrument an application, primarily to watch the performance of all its dependencies and find bottlenecks. OpenTelemetry is automatically capturing Http requests coming into my system and then tracing outgoing Http, SQL, & Redis calls made while doing the processing. All of that data is exported into one of the many tools OpenTelemetry supports for visualization. What I would like to do is mod the Confluent Kafka client to also participate in that process.

The easiest way to do that would be to use DiagnosticSource to allow other code in the process to subscribe to events that are fired as messages are produced or consumed. DiagnosticSource only fires when there is a subscriber so the cost to existing users not using the events would be ~0.

If we are open to this, I can take a stab at a PR, documentation, etc., but I wanted to check first.

/cc @SergeyKanzhelev @MikeGoldsmith @cijothomas

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:57
  • Comments:20 (4 by maintainers)

github_iconTop GitHub Comments

15reactions
MoienTajikcommented, Aug 3, 2021

Are there any plans to implement this feature?

9reactions
fedeolivcommented, Jun 14, 2022

Hey everyone, JFYI I created a PR #1838 with a proposal for the Producer instrumentation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Importance of Distributed Tracing for Apache-Kafka ...
Distributed tracing with Zipkin. Distributed tracing is a method for recording, collecting and recreating execution traces from distributed ...
Read more >
Integrate Kafka Clients with Jaeger for Distributed Tracing ...
Distributed tracing is a method used to profile and monitor applications. It helps pinpoint where failures occur, identifies what causes poor ...
Read more >
Distributed Tracing for Kafka with OpenTelemetry
This talk will walk through how to use OpenTelemetry to tell the full story of a request as it travels through your Kafka...
Read more >
Distributed Tracing for Kafka with OpenTelemetry
With distributed tracing, you can measure how and where data loss is happening by looking for traces with orphan spans. Finetune consumer ......
Read more >
Kafka record tracing
Simply put, a distributed tracing system collects and saves data from each service monitored, correlates it based on a trace id, and makes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found