Skip to content

Commit 4fe24b7

Browse files
committed
update internal attribute
1 parent 4abe10d commit 4fe24b7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/core/src/logs/internal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export function _INTERNAL_captureLog(
163163

164164
if (replayId && replay?.getRecordingMode() === 'buffer') {
165165
// We send this so we can identify cases where the replayId is attached but the replay itself might not have been sent to Sentry
166-
setLogAttribute(processedLogAttributes, 'sentry.internal.replay_is_buffering', true);
166+
setLogAttribute(processedLogAttributes, 'sentry._internal.replay_is_buffering', true);
167167
}
168168

169169
const beforeLogMessage = beforeLog.message;

packages/core/test/lib/logs/internal.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ describe('_INTERNAL_captureLog', () => {
496496
value: 'buffer-replay-id',
497497
type: 'string',
498498
},
499-
'sentry.internal.replay_is_buffering': {
499+
'sentry._internal.replay_is_buffering': {
500500
value: true,
501501
type: 'boolean',
502502
},
@@ -623,7 +623,7 @@ describe('_INTERNAL_captureLog', () => {
623623
value: 'buffer-replay-id',
624624
type: 'string',
625625
},
626-
'sentry.internal.replay_is_buffering': {
626+
'sentry._internal.replay_is_buffering': {
627627
value: true,
628628
type: 'boolean',
629629
},
@@ -656,7 +656,7 @@ describe('_INTERNAL_captureLog', () => {
656656
type: 'string',
657657
},
658658
});
659-
expect(logAttributes).not.toHaveProperty('sentry.internal.replay_is_buffering');
659+
expect(logAttributes).not.toHaveProperty('sentry._internal.replay_is_buffering');
660660
});
661661

662662
it('does not set replay_is_buffering attribute when replay is undefined mode', () => {
@@ -685,7 +685,7 @@ describe('_INTERNAL_captureLog', () => {
685685
type: 'string',
686686
},
687687
});
688-
expect(logAttributes).not.toHaveProperty('sentry.internal.replay_is_buffering');
688+
expect(logAttributes).not.toHaveProperty('sentry._internal.replay_is_buffering');
689689
});
690690

691691
it('does not set replay_is_buffering attribute when no replay ID is available', () => {

0 commit comments

Comments
 (0)