Package-level declarations
Types
Controls whether to capture sensitive LLM content in spans. By default, all sensitive content capture is disabled per OTEL guidance.
Represents the type of content that can be captured or redacted.
Functions
Determines if content tracing is allowed for the specified content kind by checking TracingManager.contentCapturePolicy.
Same as orRedacted but with a ContentCapturePolicy instance taken from TracingManager.
Returns either the current string or "REDACTED" based on the provided content kind and content capture policy. The behavior depends on whether the policy allows capturing sensitive input or output content.
Same as orRedactedInput but with a ContentCapturePolicy instance taken from TracingManager.
Returns either this string if the ContentCapturePolicy instance is configured to capture sensitive request/response input content into span, or a "REDACTED" placeholder otherwise.
Same as orRedactedOutput but with a ContentCapturePolicy instance taken from TracingManager.
Returns either this string if the ContentCapturePolicy instance is configured to capture sensitive request/response output content into span, or a "REDACTED" placeholder otherwise.