Skip to content

contrib/IBM/sarama.v1: support for consumer groups#3041

Merged
darccio merged 5 commits into
mainfrom
rarguelloF/AIDM-461/support-sarama-consumer-group
Jan 9, 2025
Merged

contrib/IBM/sarama.v1: support for consumer groups#3041
darccio merged 5 commits into
mainfrom
rarguelloF/AIDM-461/support-sarama-consumer-group

Conversation

@rarguelloF

@rarguelloF rarguelloF commented Dec 17, 2024

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds support for instrumenting consumer groups for IBM/sarama through wrapping sarama.ConsumerGroupHandler.

Closes #2133, closes #552, closes #1928

Motivation

Support tracing consumer groups.

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.
  • Add an appropriate team label so this PR gets put in the right place for the release notes.
  • Non-trivial go.mod changes, e.g. adding new modules, are reviewed by @DataDog/dd-trace-go-guild.
  • For internal contributors, a matching PR should be created to the v2-dev branch and reviewed by @DataDog/apm-go.

Unsure? Have a question? Request a review!

@github-actions github-actions Bot added the apm:ecosystem contrib/* related feature requests or bugs label Dec 17, 2024
@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Dec 17, 2024

Copy link
Copy Markdown

Datadog Report

Branch report: rarguelloF/AIDM-461/support-sarama-consumer-group
Commit report: 4ca9120
Test service: dd-trace-go

✅ 0 Failed, 5122 Passed, 70 Skipped, 2m 34.32s Total Time

@pr-commenter

pr-commenter Bot commented Dec 17, 2024

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2024-12-19 12:58:24

Comparing candidate commit c2088e0 in PR branch rarguelloF/AIDM-461/support-sarama-consumer-group with baseline commit d15e61a in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 58 metrics, 1 unstable metrics.

@rarguelloF
rarguelloF marked this pull request as ready for review December 19, 2024 10:43
@rarguelloF
rarguelloF requested review from a team as code owners December 19, 2024 10:43

@darccio darccio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

@rarguelloF Remember to port this to v2-dev.

@darccio
darccio merged commit 38c3f21 into main Jan 9, 2025
@darccio
darccio deleted the rarguelloF/AIDM-461/support-sarama-consumer-group branch January 9, 2025 13:37
@harshit98

Copy link
Copy Markdown

@darccio @rarguelloF

Hi team, when we are planning to release this support ? I could not find this commit in the latest release tag v1.71.0.

@darccio

darccio commented Feb 3, 2025

Copy link
Copy Markdown
Member

@harshit98 It'll be released in our February's release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apm:ecosystem contrib/* related feature requests or bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support tracing Sarama's ConsumerGroupHandler Support for Sarama Consumer Groups contrib/Shopify/sarama: add support for ConsumerGroups

3 participants