sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

Change the Traces Sample Rate at Runtime

Open thinkocapo opened this issue 7 months ago • 2 comments
trafficstars

Customer asking if the tracesSampleRate can be changed at runtime.

They remotely control config themselves already. If they updated tracesSampleRate's value, doesn't the entire SDK need to be re-initialized? Can steps be provided for stopping and re-starting the SDK?

Customer also said they'er willing to stop/shutdown the SDK completely, via remote config, if they can't re-initialize or change the sample rate at runtime.

thinkocapo avatar Apr 08 '25 10:04 thinkocapo