Discussed with @davidmanzanoai .
It would be nice for us to introduce a flexible way for users to specify a target location to store potentially sensitive fields (inputs/outpus) and use a reference in the "plain" trace instead of directly storing the fields.
It appears that this idea is already considered and WIP as part of the OTEL semantic conventions (open-telemetry/semantic-conventions#2179).