Skip to content

Commit a8ba1d2

Browse files
jpkrohlingshivanthzen
authored andcommitted
[chore][processor/probabilisticsampler] Document clarity regarding sampling_priority configuration (#36668)
Fixes #30410 Signed-off-by: Juraci Paixão Kröhling <[email protected]> Signed-off-by: Juraci Paixão Kröhling <[email protected]>
1 parent 9bf98d5 commit a8ba1d2

File tree

1 file changed

+1
-1
lines changed
  • processor/probabilisticsamplerprocessor

1 file changed

+1
-1
lines changed

processor/probabilisticsamplerprocessor/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ The following configuration options can be modified:
314314

315315
- `attribute_source` (string, optional, default = "traceID"): defines where to look for the attribute in from_attribute. The allowed values are `traceID` or `record`.
316316
- `from_attribute` (string, optional, default = ""): The name of a log record attribute used for sampling purposes, such as a unique log record ID. The value of the attribute is only used if the trace ID is absent or if `attribute_source` is set to `record`.
317-
- `sampling_priority` (string, optional, default = ""): The name of a log record attribute used to set a different sampling priority from the `sampling_percentage` setting. 0 means to never sample the log record, and >= 100 means to always sample the log record.
317+
- `sampling_priority` (string, optional, default = ""): The name of a log record attribute used to set a different sampling priority from the `sampling_percentage` setting. The record attribute value's should be between 0 and 100, while 0 means to never sample the log record, and >= 100 means to always sample the log record.
318318

319319
Examples:
320320

0 commit comments

Comments
 (0)