Per-kind options accepted by define().
optional
trace: (data: Data) => TraceAttributes
Allowlist mapper from the typed payload to span/log attributes, consumed by attributes. Deliberately not a redaction filter: only what the mapper returns is ever exposed, so sensitive fields are private by omission, not by scrubbing.