Add dynamic sampling frequency update capability
This commit adds a new interface to the tracer, which can be used to dynamically update the sampling frequency.
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: Haoning-Sun / name: Haoning Sun (2ae65532f25e34e7a8cedadfbb63b6d3a01a298d, 327901a9e9b5ee2c419bb07f141cf13e1d0ae622, 562131b26206cca3411e316ee5c7330a6096bed3, 5d99fad06e4fae641e2aa3c4acec2bf125a27285, 6fa943c8bee8cbbbdb5a5ce9d2c08fdd29cef66e, 7a51bed8b1bb2690dec6e84c79f0a1d8ac9bf7ac, 894e4cf66b1ea6e95d0ddc991356eded82b47047, 8e8e35f71bf33dfc1562eb7b0d9aec9a06fc474d, a65bfcddc09b2acf0fcfd2b7f4c1374eb9f6fbb2, bb943e42fb9a58c15690de89734f60ad3b386ffa)
Thanks for your contribution. Do you have a particular use case for this?
We hope to change the sampling frequency without recreating the tracer.
Please also make sure, that package reporter also updates its SamplesPerSecond and reports the correct frequency.
Please also make sure, that package
reporteralso updates itsSamplesPerSecondand reports the correct frequency.
Added it in controller and reporter.