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
Copy file name to clipboardexpand all lines: processor/tailsamplingprocessor/README.md
+6
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ The following configuration options are required:
29
29
Multiple policies exist today and it is straight forward to add more. These include:
30
30
-`always_sample`: Sample all traces
31
31
-`latency`: Sample based on the duration of the trace. The duration is determined by looking at the earliest start time and latest end time, without taking into consideration what happened in between.
32
+
-`duration`: Sample based on the *bounded* duration of the trace. Otherwise identical to latency
32
33
-`numeric_attribute`: Sample based on number attributes (resource and record)
33
34
-`probabilistic`: Sample a percentage of traces. Read [a comparison with the Probabilistic Sampling Processor](#probabilistic-sampling-processor-compared-to-the-tail-sampling-processor-with-the-probabilistic-policy).
34
35
-`status_code`: Sample based upon the status code (`OK`, `ERROR` or `UNSET`)
0 commit comments