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/aws/aws-sdk-go-v2: add WithErrorCheck option #2042

Merged

Conversation

johanneswuerbach
Copy link
Contributor

@johanneswuerbach johanneswuerbach commented Jun 14, 2023

What does this PR do?

Adds an WithErrorCheck function similar to #1682

Motivation

This applies the same logic introduced by #1315 on sql tracer.
We need this otherwise DD raises an issue for every kind of error.

Describe how to test/QA your changes

Reviewer's Checklist

  • Changed code has unit tests for its functionality.
  • If this interacts with the agent in a new way, a system test has been added.

@johanneswuerbach johanneswuerbach requested a review from a team June 14, 2023 07:29
Copy link
Contributor

@knusbaum knusbaum left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the contribution.

@katiehockman katiehockman merged commit 0c67903 into DataDog:main Jun 28, 2023
9 checks passed
@johanneswuerbach johanneswuerbach deleted the v2-contrib-aws-error-with-check branch June 28, 2023 20:26
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.

3 participants