-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[Feature] provides sample option in python agent #12155
Comments
fyi @Superskyyy |
Could you briefly describe your idea? Is it possible to dynamically update the value of sample based on the configuration file? |
@CodePrometheus I will achieve the function through following tasks:
Dynamically updating the value based on the configuration file or environment variables will not be implemented. |
@CodePrometheus Could you be more specific about this? What do you mean based on file? The above logic seems to be as same as Java agent sampling. |
Yes, the above logic is similar to the existing |
I am not sure whether python agent supports dynamic configuration in the kernel already? @Superskyyy |
Currently, this capability is not implemented in python-agent. |
@tsonglew Are you going to add this too? |
Yes, I will create another mr for config change events |
Is there any update about this feature? |
I'm still working on it. I will make it done within three weeks. |
Search before asking
Description
Support sample option like
SW_AGENT_SAMPLE
in java agentUse case
Reduce the trace storage load
Related issues
#5997
Are you willing to submit a pull request to implement this on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: