// ObfuscatePayload applies obfuscator rules to the trace payloads
ObfuscatePayload applies obfuscator rules to the trace payloads
// ObfuscatePayload applies obfuscator rules to the trace payloads
func ObfuscatePayload(obfuscator *obfuscate.Obfuscator, tracePayloads []*pb.TracePayload) {
	for _, tracePayload := range tracePayloads {
		for _, trace := range tracePayload.Traces {
			for _, span := range trace.Spans {
				obfuscator.Obfuscate(span)
			}
		}
	}
}
func ObfuscatePayload ( obfuscator * obfuscate . Obfuscator , tracePayloads [ ] * pb . TracePayload ) { for _ , tracePayload := range tracePayloads { for _ , trace := range tracePayload . Traces { for _ , span := range trace . Spans { obfuscator . Obfuscate ( span ) } } } }
ObfuscatePayload applies obfuscator rules to the trace payloads
ObfuscatePayload applies obfuscator rules to the trace payloads
// Obfuscate the traces in the payload