File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -972,9 +972,9 @@ def should_drop_logs_for_unsampled_trace(
972972) -> bool :
973973 """
974974 Determines whether the logger should only process log records associated with sampled traces.
975- If not explicitly set, the `trace_based` parameter is set to `false`. If `trace_based` is `true`, log records associated with unsampled traces
976- are dropped by the `Logger`. A log record is considered associated with an unsampled trace if it has a valid `SpanId` and its `TraceFlags` indicate
977- that the trace is unsampled. A log record that isn't associated with a trace context is not affected by this parameter and therefore bypasses
975+ If not explicitly set, the `trace_based` parameter is set to `false`. If `trace_based` is `true`, log records associated with unsampled traces
976+ are dropped by the `Logger`. A log record is considered associated with an unsampled trace if it has a valid `SpanId` and its `TraceFlags` indicate
977+ that the trace is unsampled. A log record that isn't associated with a trace context is not affected by this parameter and therefore bypasses
978978 trace-based filtering.
979979 """
980980 if trace_based :
You can’t perform that action at this time.
0 commit comments