Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bare minimum info to Kafka traces to allow manual debugging #764

Open
timmc-edx opened this issue Aug 7, 2024 · 1 comment
Open

Comments

@timmc-edx
Copy link
Member

In #758 we're hoping to add distributed tracing for the event bus. However, we may want to take a first step of adding just enough information that we can manually step between producer and consumer traces. This might involve one of the following:

  • Adding DD_KAFKA_PROPAGATION_ENABLED on both sides (if it automatically enriches the kafka.produce and kafka.consume spans with enough info)
  • Adding message offset info (in a new span, via function_trace) to the producer side.

Neither of these would ensure we end up with both traces actually being sampled and indexed, but they might help in a debugging scenario.

@timmc-edx timmc-edx converted this from a draft issue Aug 7, 2024
@timmc-edx timmc-edx changed the title Add enough info to Kafka traces to allow manual connection of producer and consumer Add bare minimum info to Kafka traces to allow manual debugging Aug 7, 2024
@robrap
Copy link
Contributor

robrap commented Aug 7, 2024

Note: Using function_trace, we can affect span indexing based on the name we give it.

@robrap robrap moved this to Backlog in Arch-BOM Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants