// ProcessTrace parses, applies tags, and obfuscates a trace
ProcessTrace parses, applies tags, and obfuscates a trace
// ProcessTrace parses applies tags and obfuscates a trace
func ProcessTrace(content string, obfuscator *obfuscate.Obfuscator, tags string) ([]*pb.TracePayload, error) {
	tracePayloads, err := ParseTrace(content)
	if err != nil {
		fmt.Printf("Couldn't forward trace: %v", err)
		return tracePayloads, err
	}
	AddTagsToTracePayloads(tracePayloads, tags)
	ObfuscatePayload(obfuscator, tracePayloads)
	return tracePayloads, nil
}
func ProcessTrace ( content string , obfuscator * obfuscate . Obfuscator , tags string ) ( [ ] * pb . TracePayload , error ) { tracePayloads , err := ParseTrace ( content ) if err != nil { fmt . Printf ( " " , err ) return tracePayloads , err } AddTagsToTracePayloads ( tracePayloads , tags ) ObfuscatePayload ( obfuscator , tracePayloads ) return tracePayloads , nil }
ProcessTrace parses, applies tags, and obfuscates a trace
ProcessTrace parses applies tags and obfuscates a trace