Skip to content

Commit

Permalink
feat: set-up Sentry@8
Browse files Browse the repository at this point in the history
  • Loading branch information
kewitz committed Dec 23, 2024
1 parent deac9cb commit 397c38a
Show file tree
Hide file tree
Showing 13 changed files with 844 additions and 240 deletions.
5 changes: 5 additions & 0 deletions config/custom-environment-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
"readOnly": "DATABASE_READ_ONLY"
},
"graphql": {
"apollo": {
"key": "APOLLO_KEY",
"graphRef": "APOLLO_GRAPH_REF"
},
"cache": {
"enabled": "GRAPHQL_CACHE_ENABLED",
"ttl": "GRAPHQL_CACHE_TTL",
Expand Down Expand Up @@ -218,6 +222,7 @@
"sentry": {
"dsn": "SENTRY_DSN",
"tracesSampleRate": "SENTRY_TRACES_SAMPLE_RATE",
"profilesSampleRate": "SENTRY_PROFILES_SAMPLE_RATE",
"minExecutionTimeToSample": "SENTRY_MIN_EXECUTION_TIME_TO_SAMPLE"
},
"ledger": {
Expand Down
1 change: 1 addition & 0 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
},
"sentry": {
"tracesSampleRate": 0,
"profilesSampleRate": 0,
"minExecutionTimeToSample": 800
},
"ledger": {
Expand Down
3 changes: 2 additions & 1 deletion config/production.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"fetchHostTransactionsCsv": true
},
"sentry": {
"tracesSampleRate": 0.01
"tracesSampleRate": 0.01,
"profilesSampleRate": 0.02
},
"graphql": {
"cache": {
Expand Down
3 changes: 2 additions & 1 deletion config/staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"fetchTransactionsReceipts": true
},
"sentry": {
"tracesSampleRate": 0.01
"tracesSampleRate": 0.01,
"profilesSampleRate": 0.02
},
"restService": {
"fetchCollectiveTransactionsCsv": true,
Expand Down
Loading

0 comments on commit 397c38a

Please sign in to comment.