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

Support output value in AttributeSetter #6543

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SodaDev
Copy link

@SodaDev SodaDev commented Jan 2, 2025

Reasoning:
Add AttributeBuilder, which will extend the AttributeSetter contract with output value. Thanks to that, users can instrument attributes based on the AWS SDK responses.

@SodaDev SodaDev requested a review from a team as a code owner January 2, 2025 15:06
Copy link

linux-foundation-easycla bot commented Jan 2, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@github-actions github-actions bot requested a review from akats7 January 2, 2025 15:06
@SodaDev SodaDev force-pushed the support-output-in-attributesetter branch 4 times, most recently from ae8c6cb to a976877 Compare January 2, 2025 15:19
Copy link
Member

@dmathieu dmathieu left a comment

Choose a reason for hiding this comment

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

This will need a changelog entry.

Copy link

codecov bot commented Jan 6, 2025

Codecov Report

Attention: Patch coverage is 88.88889% with 3 lines in your changes missing coverage. Please review.

Project coverage is 68.5%. Comparing base (00786cc) to head (6e05dfc).
Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
...github.com/aws/aws-sdk-go-v2/otelaws/attributes.go 66.6% 1 Missing ⚠️
...hub.com/aws/aws-sdk-go-v2/otelaws/snsattributes.go 50.0% 1 Missing ⚠️
...hub.com/aws/aws-sdk-go-v2/otelaws/sqsattributes.go 50.0% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #6543   +/-   ##
=====================================
  Coverage   68.5%   68.5%           
=====================================
  Files        200     200           
  Lines      16768   16800   +32     
=====================================
+ Hits       11490   11519   +29     
- Misses      4933    4937    +4     
+ Partials     345     344    -1     
Files with missing lines Coverage Δ
...tation/github.com/aws/aws-sdk-go-v2/otelaws/aws.go 95.8% <100.0%> (+0.1%) ⬆️
...ion/github.com/aws/aws-sdk-go-v2/otelaws/config.go 100.0% <100.0%> (ø)
...om/aws/aws-sdk-go-v2/otelaws/dynamodbattributes.go 100.0% <100.0%> (ø)
...github.com/aws/aws-sdk-go-v2/otelaws/attributes.go 89.4% <66.6%> (+7.1%) ⬆️
...hub.com/aws/aws-sdk-go-v2/otelaws/snsattributes.go 81.4% <50.0%> (-6.6%) ⬇️
...hub.com/aws/aws-sdk-go-v2/otelaws/sqsattributes.go 94.4% <50.0%> (-5.6%) ⬇️

... and 3 files with indirect coverage changes

@SodaDev SodaDev force-pushed the support-output-in-attributesetter branch from a976877 to e8d0895 Compare January 6, 2025 12:53
…with output value. Thanks to that, users can instrument attributes based on the AWS SDK responses.
@SodaDev SodaDev force-pushed the support-output-in-attributesetter branch from e8d0895 to 6e05dfc Compare January 6, 2025 15:44
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Damien Mathieu <[email protected]>
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