Skip to content
Merged
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
9 changes: 6 additions & 3 deletions static/app/utils/replays/replayDataUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export function breadcrumbFactory(
label: error['error.type'].join(''),
eventId: error.id,
groupId: error['issue.id'] || 1,
groupShortId: error.issue || 'POKEDEX-4NN',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think this is supposed to be here cc @ryan953

groupShortId: error.issue,
project: error['project.name'],
},
timestamp: error.timestamp,
Expand Down Expand Up @@ -263,8 +263,11 @@ export function replayTimestamps(
)
.map(timestamp => +new Date(timestamp * 1000))
.filter(Boolean);
const spanStartTimestamps = rawSpanData.map(span => span.startTimestamp * 1000);
const spanEndTimestamps = rawSpanData.map(span => span.endTimestamp * 1000);
const rawSpanDataFiltered = rawSpanData.filter(
({op}) => op !== 'largest-contentful-paint'
);
const spanStartTimestamps = rawSpanDataFiltered.map(span => span.startTimestamp * 1000);
const spanEndTimestamps = rawSpanDataFiltered.map(span => span.endTimestamp * 1000);

return {
startTimestampMs: Math.min(
Expand Down