The l5d-sample lets clients determine the sample rate of a
given request. Tracers may, of course, choose to enforce
additional sampling, so setting this header cannot ensure that a
trace is recorded.
l5d-sample values should be on [0.0, 1.0], however values
outside of this range are rounded to the nearest valid value so
that negative numbers are treated as 0 and positive numbers
greater than 1 are rounded to 1. At 1.0, the trace is marked as
sampled on all downstream requestes.
The
l5d-sample
lets clients determine the sample rate of a given request. Tracers may, of course, choose to enforce additional sampling, so setting this header cannot ensure that a trace is recorded.l5d-sample
values should be on [0.0, 1.0], however values outside of this range are rounded to the nearest valid value so that negative numbers are treated as 0 and positive numbers greater than 1 are rounded to 1. At 1.0, the trace is marked as sampled on all downstream requestes.