Skip to content

Commit 822e046

Browse files
authored
externalize time_period param in query challenge (elastic#68)
1 parent 8efa5cd commit 822e046

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ The table below shows the track parameters that can be adjusted along with defau
8383

8484
This challenge runs mixed Kibana queries against the index created in the **elasticlogs-1bn-load** track. No concurrent indexing is performed.
8585

86+
The table below shows the track parameters that can be adjusted along with default values:
87+
88+
| Parameter | Explanation | Type | Default Value |
89+
| --------- | ----------- | ---- | ------------- |
90+
| `query_time_period` | The period to run the parallel query tasks specified in seconds | `int` | `1800` |
91+
8692
### combined-indexing-and-querying
8793

8894
This challenge assumes that the *elasticlogs-1bn-load* track has been executed as it simulates querying against these indices. It shows how indexing and querying through simulated Kibana dashboards can be combined to provide a more realistic benchmark.

eventdata/challenges/elasticlogs-querying.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
{% set p_query_time_period = (query_time_period | default(1800)) %}
2+
13
{
24
"name": "elasticlogs-querying",
3-
"description": "This challenge simulates a set of Kibana queries against historical data ({{p_query_index_pattern}} indices) without any indexing taking place for a period of 30 minutes. It assumes one of the challenges creating {{p_query_index_pattern}} indices has been run.",
5+
"description": "This challenge simulates a set of Kibana queries against historical data ({{p_query_index_pattern}} indices) without any indexing taking place for a period of {{ p_query_time_period / 60 }} minutes. It assumes one of the challenges creating {{p_query_index_pattern}} indices has been run.",
46
"meta": {
57
"benchmark_type": "querying",
68
"target_kibana_queries_per_minute": 5
@@ -14,7 +16,7 @@
1416
{
1517
"parallel": {
1618
"warmup-time-period": 0,
17-
"time-period": 1800,
19+
"time-period": {{ p_query_time_period }},
1820
"clients": 4,
1921
"tasks": [
2022
{

0 commit comments

Comments
 (0)