File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ export default class extends WorkerEntrypoint<Env> {
7878 this . env . SENTRY_ACCESS_CLIENT_ID ,
7979 this . env . SENTRY_ACCESS_CLIENT_SECRET ,
8080 this . env . COLO_METADATA ,
81+ this . env . VERSION_METADATA ,
8182 this . env . CONFIG ?. account_id ,
8283 this . env . CONFIG ?. script_id
8384 ) ;
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ export default {
4747 env . SENTRY_ACCESS_CLIENT_ID ,
4848 env . SENTRY_ACCESS_CLIENT_SECRET ,
4949 env . COLO_METADATA ,
50+ env . VERSION_METADATA ,
5051 env . CONFIG ?. account_id ,
5152 env . CONFIG ?. script_id
5253 ) ;
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export function setupSentry(
88 clientId : string ,
99 clientSecret : string ,
1010 coloMetadata ?: ColoMetadata ,
11+ versionMetadata ?: WorkerVersionMetadata ,
1112 accountId ?: number ,
1213 scriptId ?: number
1314) : Toucan | undefined {
@@ -20,6 +21,7 @@ export function setupSentry(
2021 request,
2122 context,
2223 sampleRate : 1.0 ,
24+ release : versionMetadata ?. tag ,
2325 requestDataOptions : {
2426 allowedHeaders : [
2527 "user-agent" ,
You can’t perform that action at this time.
0 commit comments