Skip to content

Commit

Permalink
feat: trace all UCAN invocation traffic (#446)
Browse files Browse the repository at this point in the history
I'd like to track down the UCAN pipeline WriteError issue we've been
seeing in production, so enable 100% tracing for both of the related
Lambdas in hopes that this will give me maximal information about the
code the error is in.
  • Loading branch information
travis authored Dec 4, 2024
1 parent 0908757 commit fc282eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion upload-api/functions/ucan-invocation-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import * as UCantoValidator from '@ucanto/validator'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 0,
tracesSampleRate: 1,
})

export { API }
Expand Down
2 changes: 1 addition & 1 deletion upload-api/functions/ucan.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as AgentStore from '../stores/agent.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 0,
tracesSampleRate: 1,
})

const AWS_REGION = process.env.AWS_REGION || 'us-west-2'
Expand Down

0 comments on commit fc282eb

Please sign in to comment.