-
Notifications
You must be signed in to change notification settings - Fork 773
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
There is no method to remove the Source #4371
Comments
All sources are opt-in. If a particular source is not desired, then simply not add it ! Or are you asking about how do I AddSource(), and then change mind, and RemoveSource()? Can you give a example scenario, so we can understand better what is the end goal. |
Adding context with specific scenario: E.g. I do Another similar case: distro enables a bunch or sources for me but I want to exclude some. I'd like to have Removing a source would be more controversial and could better be done via extra filter: |
This issue was marked stale due to lack of activity and will be closed in 7 days. Commenting will instruct the bot to automatically remove the label. This bot runs once per day. |
Closed as inactive. Feel free to reopen if this issue is still a concern. |
Bug Report
We have AddSource feature in TraceProviderBuilder which is used for adding source.
But there is no feature available to Remove the source.
For example, if I need to enable/disable tracing for a particular source, there is no way to do it.
Also, I using HasListener property to determine if Source is added/removed.
The text was updated successfully, but these errors were encountered: