withCapturingPolicy

Sets the capturing policy for handling sensitive content within spans.

Parameters

policy

the content capture policy that dictates whether inputs and outputs containing sensitive data should be captured. By default, sensitive content is not captured in accordance with OpenTelemetry guidelines.

See also