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

Add XRay SDK to lambda #8

Merged
merged 3 commits into from
Oct 20, 2023
Merged

Add XRay SDK to lambda #8

merged 3 commits into from
Oct 20, 2023

Conversation

gregtyler
Copy link
Contributor

@gregtyler gregtyler commented Oct 20, 2023

So we can trace calls through to dependent services like DynamoDB

This also moves the DynamoDB-specific code into a shared client behind an interface, so that the lambdas depend on a common interface (shared.Client) with generic Put/Get/Patch methods.

This allows us more flexibility to change the storage (e.g. between DynamoDB and RDS) without needing to change the compute code.

It also allows the "proper" lambda code to focus on its behaviour rather than implementation details.

Fixes VEGA-2103 #minor

So we can trace calls through to dependent services like DynamoDB

Fixes VEGA-2103 #minor
@gregtyler gregtyler requested a review from a team as a code owner October 20, 2023 13:02
@gregtyler gregtyler temporarily deployed to 8vega2103ad popup environment October 20, 2023 13:05 — with GitHub Actions Inactive
Rather than our lambdas depending directly on DynamoDB, we want them to depend on a common interface (`shared.Client`) with generic Put/Get/Patch methods.

This allows us more flexibility to change the storage (e.g. between DynamoDB and RDS) without needing to change the compute code.

It also allows the "proper" lambda code to focus on its behaviour rather than implementation details.

For VEGA-2103 #minor
@gregtyler gregtyler temporarily deployed to 8vega2103ad popup environment October 20, 2023 13:35 — with GitHub Actions Inactive
So we don't maintain a long list of old popup environments

#patch
@gregtyler gregtyler temporarily deployed to 8vega2103ad popup environment October 20, 2023 13:45 — with GitHub Actions Inactive
@gregtyler gregtyler merged commit 1a80069 into main Oct 20, 2023
7 checks passed
@gregtyler gregtyler deleted the VEGA-2103-add-xray branch October 20, 2023 14:44
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.

2 participants