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

Instrumenter that only instruments certain modules #124

Open
AndreasGocht opened this issue Mar 31, 2021 · 0 comments
Open

Instrumenter that only instruments certain modules #124

AndreasGocht opened this issue Mar 31, 2021 · 0 comments

Comments

@AndreasGocht
Copy link
Collaborator

AndreasGocht commented Mar 31, 2021

Sometimes a user wants to instrument just a certain module. Currently, the only approach to do so is to use runtime filtering.

However, it might be worth silencing the instrumenter after the interesting module is left. The instrumenter could use a stack counter to evaluate if the interesting module is reached again and start forwarding events again.

Questions:

  • How would we identify a module? String compares are expensive.
  • How is the runtime impact? Would it decrease significantly?
  • Are threads an Issue? Maybe TLS will help?
@AndreasGocht AndreasGocht changed the title Intromenter that only instruments certain modules Instrumenter that only instruments certain modules Apr 6, 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

No branches or pull requests

1 participant