@openneuro/server 4.27.0-alpha.1 → 4.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openneuro/server",
|
|
3
|
-
"version": "4.27.0
|
|
3
|
+
"version": "4.27.0",
|
|
4
4
|
"description": "Core service for the OpenNeuro platform.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/server.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@elastic/elasticsearch": "8.13.1",
|
|
22
22
|
"@graphql-tools/schema": "^10.0.0",
|
|
23
23
|
"@keyv/redis": "^2.7.0",
|
|
24
|
-
"@openneuro/search": "^4.27.0
|
|
24
|
+
"@openneuro/search": "^4.27.0",
|
|
25
25
|
"@sentry/node": "^8.25.0",
|
|
26
26
|
"@sentry/profiling-node": "^8.25.0",
|
|
27
27
|
"base64url": "^3.0.0",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"publishConfig": {
|
|
86
86
|
"access": "public"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "ee90f11f7696e905f477b04b713a59caff374c30"
|
|
89
89
|
}
|
package/src/sentry.ts
CHANGED
|
@@ -14,4 +14,11 @@ Sentry.init({
|
|
|
14
14
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
15
15
|
profilesSampleRate: 1.0,
|
|
16
16
|
release: `openneuro-server@${version}`,
|
|
17
|
+
beforeSendTransaction(event) {
|
|
18
|
+
if (event.transaction === "/crn/") {
|
|
19
|
+
// Don't measure the healthcheck endpoint
|
|
20
|
+
return null
|
|
21
|
+
}
|
|
22
|
+
return event
|
|
23
|
+
},
|
|
17
24
|
})
|