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

Replace async-profiler context tracker with async-profiler scope listener #4096

Merged
merged 3 commits into from
Oct 26, 2022

Conversation

richardstartin
Copy link
Member

What Does This Do

  • Extends the ExtendedScopeListener interface to accept a local root span ID
  • Replaces the async profiler context tracker with a scope listener which calls into AsyncProfiler's context API

Motivation

Since profiling now only tracks context when scopes are activated and doesn't use any of the custom hooks made available for checkpoints, this simplifies the integration and coalesces two scope stacks.

Additional Notes

@richardstartin richardstartin requested review from a team as code owners October 25, 2022 21:12
@richardstartin richardstartin force-pushed the rgs/async-profiler-scope-listener branch 3 times, most recently from 4adb913 to 2236355 Compare October 25, 2022 21:53
@richardstartin richardstartin force-pushed the rgs/async-profiler-scope-listener branch from 2236355 to 38d08b7 Compare October 25, 2022 23:21
Copy link
Contributor

@bantonsson bantonsson left a comment

Choose a reason for hiding this comment

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

Nice

@richardstartin richardstartin force-pushed the rgs/async-profiler-scope-listener branch from 38d08b7 to 862f7e1 Compare October 26, 2022 09:28
@richardstartin richardstartin force-pushed the rgs/async-profiler-scope-listener branch from c827fc2 to 22e3e1a Compare October 26, 2022 10:48
@richardstartin richardstartin merged commit 5d54739 into master Oct 26, 2022
@richardstartin richardstartin deleted the rgs/async-profiler-scope-listener branch October 26, 2022 12:10
@github-actions github-actions bot added this to the 0.114.0 milestone Oct 26, 2022
@richardstartin richardstartin changed the title async profiler scope listener Replace async-profiler context tracker with async-profiler scope listener Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants