How to setup profiling with traces_sampler #3039
-
In the docs, it says that
We use a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, you are correct, profiles can be only recorded to sampled traces. For example if you have set |
Beta Was this translation helpful? Give feedback.
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 yourtraces_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 bytraces_sampler
.