Skip to content

Commit 8e88c59

Browse files
committed
Update Datadog RUM to set global context property for branch
1 parent c766ec5 commit 8e88c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/datadog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ datadogRum.init({
5151
defaultPrivacyLevel: 'mask-user-input',
5252
// plugins: [reactPlugin({ router: false })], // Keep disabled until upgrading React Router due to deps conflict
5353
});
54-
datadogRum.addRumGlobalContext('branch', __BRANCH__);
54+
datadogRum.setGlobalContextProperty('branch', __BRANCH__);

0 commit comments

Comments
 (0)