Skip to content

Commit

Permalink
Enable OpenTelemetry tracing for all Lambdas except for web app
Browse files Browse the repository at this point in the history
OpenTelemetry aggregates logs across multiple AWS services to form
distributed traces.

Enable it for all Lambdas except for the one that powers our web
app, because the OpenTelemetry layer increases cold-start time.
  • Loading branch information
lpsinger committed Nov 6, 2024
1 parent 7cdf161 commit 070aec4
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions app.arc
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,5 @@ mission-cloud-platform # Custom permissions for deployment on Mission Cloud Pla
email-outgoing # Grant the Lambda function permission to send email; add email templates.
email-incoming # Enable Lambda handlers for incoming emails
nasa-gcn/architect-plugin-search # Add an AWS OpenSearch Serverless collection.
nasa-gcn/architect-plugin-tracing
architect/plugin-lambda-invoker
2 changes: 2 additions & 0 deletions build/email-incoming/circulars/config.arc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@aws
tracing true
2 changes: 2 additions & 0 deletions build/email-incoming/support/config.arc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@aws
tracing true
1 change: 1 addition & 0 deletions build/scheduled/ads/config.arc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@aws
timeout 900
tracing true
1 change: 1 addition & 0 deletions build/scheduled/circulars/config.arc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@aws
timeout 900
memory 512
tracing true
2 changes: 2 additions & 0 deletions build/table-streams/circulars/config.arc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@aws
tracing true
2 changes: 2 additions & 0 deletions build/table-streams/synonyms/config.arc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@aws
tracing true
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"@babel/preset-typescript": "^7.23.3",
"@gitlab/svgs": "^3.83.0",
"@nasa-gcn/architect-plugin-search": "^1.4.0",
"@nasa-gcn/architect-plugin-tracing": "^1.1.0",
"@nasa-gcn/eslint-config-gitignore": "^0.0.2",
"@playwright/test": "^1.48.2",
"@remix-run/dev": "~2.10.3",
Expand Down

0 comments on commit 070aec4

Please sign in to comment.