Skip to content

Commit

Permalink
feat: disable tracing
Browse files Browse the repository at this point in the history
turn Sentry tracing all the way down for now while we work to make tracing usable again
  • Loading branch information
travis committed Dec 2, 2024
1 parent 47b4f82 commit aaf6b0a
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion packages/functions/src/aggregator-api/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

const repo = 'https://github.com/web3-storage/w3filecoin-infra'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/functions/src/aggregator/handle-piece-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/functions/src/aggregator/handle-pieces-insert.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/functions/src/deal-tracker-api/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

const repo = 'https://github.com/web3-storage/w3filecoin-infra'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

export async function main() {
Expand Down
2 changes: 1 addition & 1 deletion packages/functions/src/dealer-api/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

const repo = 'https://github.com/web3-storage/w3filecoin-infra'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/functions/src/dealer/handle-aggregate-insert.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/functions/src/dealer/handle-cron-tick.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

async function handleEvent () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { mustGetEnv } from '../utils.js'
Sentry.AWSLambda.init({
environment: process.env.SST_STAGE,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0,
})

async function handleEvent () {
Expand Down

0 comments on commit aaf6b0a

Please sign in to comment.