Specify i.e shard_count, clients etc outside track.json

Hi,

First, thanks for an awesome product, it is really helping us alot!!

I am using the rally-eventdata-track repository and I can see that there are a lot of things specified in track.json that I would like to specify from command line or as environment variable (or some other way...), is this possible?

something like

esrally -E shard_count=2

This would allow me to i.e run the benchmarks with different values after each other.

{# Maximum number of indexing threads to use #}
{% set clients = 20 %}

{# Rate limit steps (ops) for combined indexing and querying #}
{% set rate_limit_ops = [2,4,6,8,10,12,14,16,18,20,22,24,26,28,30] %}

{# Duration of each rate limited indexing and querying benchmark in seconds #}
{% set rate_limit_duration_secs = 1200 %}

{# Number of primary shards and replicas to index into #}
{% set shard_count = 2 %}
{% set replica_count = 0 %}

{% set shard_sizing_iterations = 25 %}
{% set shard_sizing_queries = 20 %}

Regards /Johan

Hi @JohanRask,

thanks, great to hear that Rally is helping you. :slight_smile:

It is not yet possible to specify track parameters on the command line but it is already on our roadmap and currently planned for the 0.8.x release series: See https://github.com/elastic/rally/issues/310 for details.

Daniel

Perfect, thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.