find_error_patterns function

Find error patterns in telemetry