Once tool details are on, Bash commands in telemetry can carry secrets. The Collector redaction processor drops attributes not on an allowed list and masks values that match blocked patterns, before data reaches storage. Add it to the pipeline and test it against a command that contains a token.
Read in this order
- Open sourceRedaction processor README (OpenTelemetry Collector contrib)Allowed keys, blocked values and a configuration example to copy.
- OfficialCollector configuration (OpenTelemetry docs)How processors slot into a receiver, processor and exporter pipeline.