You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of v3.15.0 there is an option config profiles_sample_rate and it's value is relative to traces_sample_rate.
I am able to define transactions that have different traces_sample_rate by defining traces_sampler function.
I want to be able to define profiles_sample_rate in same manner by providing profiles_sampler function.
Example:
I've defined traces_sampler to return 0.1 for all transactions (default)
I've defined profiles_sample_rate to return 0.01
I've defined traces_sampler to return 0.0001 for transactionA and transactionB
I want to define profiles_sample_rate to return 1.0 for transactionA and transactionB to send same amount of profiles as traces
these transactions are manually triggered with startTransaction so for now I'll use init function with new options but it would be better to define that as profiles_sampler function
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As of v3.15.0 there is an option config
profiles_sample_rateand it's value is relative totraces_sample_rate.I am able to define transactions that have different
traces_sample_rateby definingtraces_samplerfunction.I want to be able to define profiles_sample_rate in same manner by providing
profiles_samplerfunction.Example:
I've defined
traces_samplerto return0.1for all transactions (default)I've defined
profiles_sample_rateto return0.01I've defined
traces_samplerto return0.0001for transactionA and transactionBI want to define
profiles_sample_rateto return1.0for transactionA and transactionB to send same amount of profiles as tracesthese transactions are manually triggered with startTransaction so for now I'll use
initfunction with new options but it would be better to define that asprofiles_samplerfunctionBeta Was this translation helpful? Give feedback.
All reactions