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

feat: Enable DynamoDB entity relationships #2923

Merged
merged 52 commits into from
Jan 16, 2025

Conversation

tippmar-nr
Copy link
Member

@tippmar-nr tippmar-nr commented Dec 9, 2024

Adds support for building the ARM for DynamoDB which is necessary to enable the entity relationship. The required attributes (cloud.resource_id, aws.operation and aws.region) are added to the DynamoDB Datastore segment.

A notable change in this PR is that the AWS Account ID is cached per instance of the ClientConfig object, which is a property of AmazonServiceClient and is passed as a property in every pipeline invocation. This allows us to support a different Account ID for different AWS services.

In this implementation, the AwsAccountId configuration value is only used if there is an error while parsing the account ID from the credentials passed to the AmazonServiceClient constructor, or if the ClientConfig object isn't in the cache for some reason.

chynesNR and others added 30 commits September 26, 2024 14:03
Base automatically changed from feature/invoke-lambda-instrumentation to main January 15, 2025 20:51
@tippmar-nr tippmar-nr marked this pull request as ready for review January 15, 2025 21:08
@tippmar-nr tippmar-nr requested a review from a team as a code owner January 15, 2025 21:08
@tippmar-nr tippmar-nr changed the title **DRAFT** DynamoDB Relationships feat: Enable DynamoDB entity relationships Jan 15, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.79%. Comparing base (3b655e4) to head (7970a23).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2923      +/-   ##
==========================================
+ Coverage   81.70%   81.79%   +0.08%     
==========================================
  Files         467      470       +3     
  Lines       29800    29949     +149     
  Branches     3315     3327      +12     
==========================================
+ Hits        24349    24496     +147     
- Misses       4659     4660       +1     
- Partials      792      793       +1     
Flag Coverage Δ
Agent 82.74% <100.00%> (+0.08%) ⬆️
Profiler 73.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ions/NewRelic.Agent.Extensions/Caching/LRUCache.cs 100.00% <100.00%> (ø)
...ns/NewRelic.Agent.Extensions/Caching/LRUHashSet.cs 100.00% <100.00%> (ø)
...Relic.Agent.Extensions/Caching/WeakReferenceKey.cs 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@tippmar-nr tippmar-nr merged commit f70b64a into main Jan 16, 2025
95 checks passed
@tippmar-nr tippmar-nr deleted the feature/dynamodb-entity-relationship branch January 16, 2025 14:53
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.

4 participants