file/traces/route1-regular:# Exporter for regular tracespath:"./gateway-traces-route1-regular.out"# Path for saving trace dataappend:false# Overwrite the file each timefile/traces/route2-security:# Exporter for security tracespath:"./gateway-traces-route2-security.out"# Path for saving trace dataappend:false# Overwrite the file each time
routing:default_pipelines:[traces/route1-regular] # Default pipeline if no rule matcheserror_mode:ignore # Ignore errors in routingtable:# Define routing rules# Routes spans to a target pipeline if the resourceSpan attribute matches the rule- statement:route() where attributes["deployment.environment"] == "security-applications"pipelines:[traces/route2-security] # Security target pipeline