Hi All,
I am using esrally for benchmakring elasticsearch. rally by default looks for config at this location i.e /rally/.rally/rally.ini, is it possible to specify the custom path while running the race for example: esrally race --track nyc_taxis --config /data/rally.ini ? Kindly assist me.
Hi @purushothamkdr143,
I am using esrally for benchmakring elasticsearch. rally by default looks for config at this location i.e /rally/.rally/rally.ini, is it possible to specify the custom path while running the race for example: esrally race --track nyc_taxis --config /data/rally.ini ? Kindly assist me.
Unfortunately there's no explicit --config argument/option available.
By default Rally will attempt to look in the user's default home directory (~/.rally) for the required files. If you'd like to use a different directory, then you can set the RALLY_HOME environment variable to point to a different directory that only contains rally.ini (logging.json etc will be created automatically), for example..
$ ls -la /Users/myuser/test/
total 0
drwxr-xr-x 3 myuser mygroup 96B 5 Jul 11:44 ./
drwxr-xr-x+ 111 myuser mygroup 3.5K 5 Jul 11:44 ../
drwxr-xr-x 3 myuser mygroup 96B 5 Jul 12:01 .rally/
$ ls -la /Users/myuser/test/.rally/
total 8
drwxr-xr-x 3 myuser mygroup 96B 5 Jul 12:01 ./
drwxr-xr-x 3 myuser mygroup 96B 5 Jul 11:44 ../
-rw-r--r-- 1 myuser mygroup 811B 5 Jul 11:57 rally.ini
$ export RALLY_HOME="/Users/myuser/test/"
$ esrally race --track nyc_taxis