Skip to content

How to setup profiling with traces_sampler #3039

Answered by antonpirker
paxw-panevo asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you are correct, profiles can be only recorded to sampled traces.

For example if you have set profiles_sample_rate=0.2 and in your traces_sampler you discard 60% of your traces, there will be profiles attached to 20% (the 0.2) of the remaining 40% of the traces that have been sampled by traces_sampler.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by paxw-panevo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants