Skip to main content

Module redact_exporter

Module redact_exporter 

Source
Expand description

Scrubs credential-bearing URLs out of OTLP log records before they leave the process.

Applies to every log record, including URLs baked into the rendered Debug/Display of someone elseโ€™s error type (reqwest, alloy, โ€ฆ).

Structsยง

RedactingLogExporter ๐Ÿ”’

Functionsยง

scrub_any_value ๐Ÿ”’
Recurses through ListAny/Map so nested string leaves are reached, not just top-level ones.
scrub_record ๐Ÿ”’
scrub_str ๐Ÿ”’