-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(trace-eap-waterfall): Adding support for occurrences #89221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Abdullah Khan <[email protected]>
} else { | ||
if (o.event_id === event.occurrence?.id) { | ||
return true; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: you can combine this into a single } else if {
makeEAPSpan({ | ||
event_id: 'eap-span-2', | ||
is_transaction: false, | ||
occurrences: [makeEAPOccurence({event_id: 'eap-occurence-1'})], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: looks like there are some areas with the occurence
typo. Not a big deal, but you might want to global search on occurence
and follow up in another pr.
I skipped reviewing changes from the last commit, since that looks like it was merged in from a different PR that was already reviewed. |
Stacked PR fixing typo: #89225 This PR adds support for eap occurences in the trace waterfall. The bulk of the change revolves around adding the new type below, that now come attached to eap spans: ``` type EAPOccurrence = { event_id: string; event_type: 'occurrence'; issue_id: number; level: Level; project_id: number; project_slug: string; start_timestamp: number; transaction: string; description?: string; }; ``` <img width="1256" alt="Screenshot 2025-04-09 at 5 26 28 PM" src="https://github.com/user-attachments/assets/c506b1ee-55ab-4b76-9f88-7b69e987a287" /> --------- Co-authored-by: Abdullah Khan <[email protected]>
Stacked PR fixing typo: #89225
This PR adds support for eap occurences in the trace waterfall. The bulk of the change revolves around adding the new type below, that now come attached to eap spans: