mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 10:03:13 +00:00
Merge pull request #7744 from overleaf/td-sentry-tag-name-change
Ensure split test Sentry tag names are within the 32-character limit GitOrigin-RevId: cc5cc5629b8b7e988d3ca6471892c8f90cf5171b
This commit is contained in:
parent
998b4393e6
commit
40bbaf168b
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ function sentryReporter() {
|
|||
const splitTestAssignments = getMeta('ol-splitTestVariants')
|
||||
if (splitTestAssignments) {
|
||||
for (const [name, value] of Object.entries(splitTestAssignments)) {
|
||||
Sentry.setTag(`ol.splitTest.${name}`, value.toString())
|
||||
// Ensure Sentry tag name is within the 32-character limit
|
||||
Sentry.setTag(`ol.${name}`.slice(0, 32), value.toString())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue