Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/src/metrics/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export function _INTERNAL_captureMetric(beforeMetric: Metric, options?: Internal

if (replayId && replay?.getRecordingMode() === 'buffer') {
// We send this so we can identify cases where the replayId is attached but the replay itself might not have been sent to Sentry
setMetricAttribute(processedMetricAttributes, 'sentry._internal.replay_is_buffering', replayId);
setMetricAttribute(processedMetricAttributes, 'sentry._internal.replay_is_buffering', true);
}

const metric: Metric = {
Expand Down
12 changes: 6 additions & 6 deletions packages/core/test/lib/metrics/internal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ describe('_INTERNAL_captureMetric', () => {
type: 'string',
},
'sentry._internal.replay_is_buffering': {
value: 'buffer-replay-id',
type: 'string',
value: true,
type: 'boolean',
},
});
});
Expand Down Expand Up @@ -577,8 +577,8 @@ describe('_INTERNAL_captureMetric', () => {
type: 'string',
},
'sentry._internal.replay_is_buffering': {
value: 'buffer-replay-id',
type: 'string',
value: true,
type: 'boolean',
},
});
});
Expand Down Expand Up @@ -736,8 +736,8 @@ describe('_INTERNAL_captureMetric', () => {
type: 'string',
},
'sentry._internal.replay_is_buffering': {
value: 'buffer-replay-id',
type: 'string',
value: true,
type: 'boolean',
},
});
});
Expand Down
Loading