How to setup profiling with traces_sampler #3039
Answered
by
antonpirker
paxw-panevo
asked this question in
Q&A
|
In the docs, it says that
We use a |
Answered by
antonpirker
Jun 20, 2024
Replies: 1 comment
|
Yes, you are correct, profiles can be only recorded to sampled traces. For example if you have set |
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
Yes, you are correct, profiles can be only recorded to sampled traces.
For example if you have set
profiles_sample_rate=0.2and in yourtraces_sampleryou 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 bytraces_sampler.