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

contrib/segmentio/kafka-go: add tracing of FetchMessage() calls #1283

Merged
merged 4 commits into from
Jul 6, 2022
Merged

contrib/segmentio/kafka-go: add tracing of FetchMessage() calls #1283

merged 4 commits into from
Jul 6, 2022

Conversation

roccoblues
Copy link
Contributor

The logic is the same as the existing ReadMessage() tracing: finish spans on the next call or on Close().

I'm not particularly happy with that but I also couldn't come up with a better solution without breaking the current API.

The logic is the same as the existing ReadMessage tracing: finish spans on the next call or on Close(). I'm not particularly happy with that but I also couldn't come up with a better solution without breaking the current API.
@roccoblues roccoblues requested a review from a team May 9, 2022 10:21
@ajgajg1134 ajgajg1134 modified the milestones: Triage, 1.39.0 May 18, 2022
Copy link
Contributor

@ajgajg1134 ajgajg1134 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR! This looks like a pretty good addition, just a small comment here to align on the behavior.

contrib/segmentio/kafka.go.v0/kafka.go Show resolved Hide resolved
Copy link
Contributor

@ajgajg1134 ajgajg1134 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for these changes! I'll get this merged once the pipeline is done

@ajgajg1134 ajgajg1134 merged commit 4a87fd6 into DataDog:main Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants