-
Notifications
You must be signed in to change notification settings - Fork 14
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
Disable automatic tracing for command #83
Comments
Hi @ptondereau , However, we can imagine having this as a "regular" feature, maybe by decorating a long running command with a marker interface and querying for this interface in the appropriate event subscribers. Currently, we are focusing primarily on upgrading the bundle, and are looking for help with implementing new features. Would you yourself like to take a shot? If not, any help is welcome. :) |
are these handle by this File ? |
Yes, @ujwaldhakal , this subscriber opens the root span for each Command. The FinishCommandSpanSubscriber is its counterpart. |
Hi @cawolf What if add in subscribers some filter function by command name not to begin trace automatically? |
I found the solution through decorators (decorating StartCommandSpanSubscriber and FinishCommandSpanSubscriber by adding exclusions there). |
I have a use case when my Symfony command are some kinds of worker.
In this context, I want to avoid waiting for my command to finish and only trace the part I want to.
WDYT?
The text was updated successfully, but these errors were encountered: