Skip to content
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

Make EndpointEvent durational to ease debugging any slack issues #3168

Merged
merged 5 commits into from
Nov 15, 2021

Conversation

jbachorik
Copy link
Contributor

@jbachorik jbachorik commented Oct 27, 2021

We seem to be having a problem with a slack between the checkpoints generated for a certain local root span and the corresponding EndpointEvent - the checkpoints may all get written into a recording preceding the one containing the EndpointEvent for that particular local root span.

In order to ease debugging and allow us to confirm or reject this assumption this PR is modifying the EndpointEvent to capture the start and end time as well as the time it took to handle that endpoint.

Most of the changes are in the checkpoint tests where it is necessary to match a new call onRootSpanStarted() when a local root span is created/started.
The rest is rather straightforward and the only 'controversial' thing may be adding a new volatile field to DDSpan - if there is a better way to achieve this functionality I would gladly make the change, so please let me know.

@jbachorik jbachorik force-pushed the jb/durational_endpoint_event branch 2 times, most recently from 494ed2a to 987ba1d Compare October 27, 2021 15:27
@jbachorik jbachorik marked this pull request as ready for review October 27, 2021 15:33
@jbachorik jbachorik requested a review from a team as a code owner October 27, 2021 15:33
@jbachorik jbachorik marked this pull request as draft October 27, 2021 16:39
@jbachorik jbachorik marked this pull request as ready for review November 10, 2021 12:54
@jbachorik jbachorik merged commit cba40fe into master Nov 15, 2021
@jbachorik jbachorik deleted the jb/durational_endpoint_event branch November 15, 2021 12:45
@github-actions github-actions bot added this to the 0.91.0 milestone Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants