-
Notifications
You must be signed in to change notification settings - Fork 123
Workload updates to test and support OpenSearch Approximation Framework #655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f1c7a9f
Modify workfloads
prudhvigodithi a9e3557
Merge remote-tracking branch 'upstream/main'
prudhvigodithi 36d3575
Fix lint
prudhvigodithi bbe3eaf
Add queries to big5
prudhvigodithi ca38866
Fix big5 lint
prudhvigodithi 016bedb
Fix spaces
prudhvigodithi 624b60f
Fix spaces
prudhvigodithi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "query": { | ||
| "range": { | ||
| "@timestamp": { | ||
| "gte": "2023-01-01T00:00:00", | ||
| "lte": "2023-01-13T00:00:00" | ||
| } | ||
| } | ||
| }, | ||
| "sort": [ | ||
| { "@timestamp": "asc" } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "query": { | ||
| "range": { | ||
| "@timestamp": { | ||
| "gte": "2023-01-01T00:00:00", | ||
| "lte": "2023-01-13T00:00:00" | ||
| } | ||
| } | ||
| }, | ||
| "sort": [ | ||
| { "@timestamp": "desc" } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,9 +25,51 @@ | |
| "operation": "range", | ||
| "warmup-iterations": {{ range_warmup_iterations or warmup_iterations | default(100) | tojson }}, | ||
| "iterations": {{ range_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ range_target_throughput or target_throughput | default(1) | tojson }}, | ||
| "target-throughput": {{ range_target_throughput or target_throughput | default(2) | tojson }}, | ||
| "clients": {{ range_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
| "operation": "range_size", | ||
| "warmup-iterations": {{ range_size_warmup_iterations or warmup_iterations | default(100) | tojson }}, | ||
| "iterations": {{ range_size_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ range_size_target_throughput or target_throughput | default(2) | tojson }}, | ||
| "clients": {{ range_size_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
| "operation": "asc_sort_status", | ||
| "warmup-iterations": {{ asc_sort_status_warmup_iterations or warmup_iterations | default(200) | tojson }}, | ||
| "iterations": {{ asc_sort_status_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ asc_sort_status_target_throughput or target_throughput | default(2) | tojson }}, | ||
| "clients": {{ asc_sort_status_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
| "operation": "desc_sort_status", | ||
| "warmup-iterations": {{ desc_sort_status_warmup_iterations or warmup_iterations | default(200) | tojson }}, | ||
| "iterations": {{ desc_sort_status_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ desc_sort_status_target_throughput or target_throughput | default(2) | tojson }}, | ||
| "clients": {{ desc_sort_status_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
| "operation": "range_status", | ||
| "warmup-iterations": {{ range_status_warmup_iterations or warmup_iterations | default(100) | tojson }}, | ||
| "iterations": {{ range_status_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ range_status_target_throughput or target_throughput | default(2) | tojson }}, | ||
| "clients": {{ range_status_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
| "operation": "range_size_asc_sort", | ||
| "warmup-iterations": {{ range_size_asc_sort_warmup_iterations or warmup_iterations | default(100) | tojson }}, | ||
| "iterations": {{ range_size_asc_sort_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ range_size_asc_sort_target_throughput or target_throughput | default(2) | tojson }}, | ||
| "clients": {{ range_size_asc_sort_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
| "operation": "range_size_desc_sort", | ||
| "warmup-iterations": {{ range_size_desc_sort_warmup_iterations or warmup_iterations | default(100) | tojson }}, | ||
| "iterations": {{ range_size_desc_sort_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ range_size_desc_sort_target_throughput or target_throughput | default(2) | tojson }}, | ||
| "clients": {{ range_size_desc_sort_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
| "name": "status-200s-in-range", | ||
| "operation": "200s-in-range", | ||
|
|
@@ -69,28 +111,28 @@ | |
| "operation": "desc_sort_size", | ||
| "warmup-iterations": {{ desc_sort_size_warmup_iterations or warmup_iterations | default(200) | tojson }}, | ||
| "iterations": {{ desc_sort_size_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ desc_sort_size_target_throughput or target_throughput | default(0.5) | tojson }}, | ||
| "target-throughput": {{ desc_sort_size_target_throughput or target_throughput | default(2) | tojson }}, | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See comment above for |
||
| "clients": {{ desc_sort_size_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
| "operation": "asc_sort_size", | ||
| "warmup-iterations": {{ asc_sort_size_warmup_iterations or warmup_iterations | default(200) | tojson }}, | ||
| "iterations": {{ asc_sort_size_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ asc_sort_size_target_throughput or target_throughput | default(0.5) | tojson }}, | ||
| "target-throughput": {{ asc_sort_size_target_throughput or target_throughput | default(2) | tojson }}, | ||
| "clients": {{ asc_sort_size_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
| "operation": "desc_sort_timestamp", | ||
| "warmup-iterations": {{ desc_sort_timestamp_warmup_iterations or warmup_iterations | default(200) | tojson }}, | ||
| "iterations": {{ desc_sort_timestamp_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ desc_sort_timestamp_target_throughput or target_throughput | default(0.5) | tojson }}, | ||
| "target-throughput": {{ desc_sort_timestamp_target_throughput or target_throughput | default(2) | tojson }}, | ||
| "clients": {{ desc_sort_timestamp_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
| "operation": "asc_sort_timestamp", | ||
| "warmup-iterations": {{ asc_sort_timestamp_warmup_iterations or warmup_iterations | default(200) | tojson }}, | ||
| "iterations": {{ asc_sort_timestamp_iterations or iterations | default(100) | tojson }}, | ||
| "target-throughput": {{ asc_sort_timestamp_target_throughput or target_throughput | default(0.5) | tojson }}, | ||
| "target-throughput": {{ asc_sort_timestamp_target_throughput or target_throughput | default(2) | tojson }}, | ||
| "clients": {{ asc_sort_timestamp_search_clients or search_clients | default(1) }} | ||
| }, | ||
| { | ||
|
|
@@ -357,13 +399,13 @@ | |
| {{ benchmark.collect(parts="../../common_operations/check_cluster_health.json") }}, | ||
| {% endwith %} | ||
| { | ||
| "operation": "create-http-log-{{ingest_pipeline | default('baseline')}}-pipeline" | ||
| "operation": "create-http-log-{{ ingest_pipeline | default('baseline') }}-pipeline" | ||
| }, | ||
| { | ||
| "operation": "index-append-with-ingest-{{ingest_pipeline | default('baseline')}}-pipeline", | ||
| "operation": "index-append-with-ingest-{{ ingest_pipeline | default('baseline') }}-pipeline", | ||
| "warmup-time-period": 240, | ||
| "clients": {{bulk_indexing_clients | default(8)}}, | ||
| "ignore-response-error-level": "{{error_level | default('non-fatal')}}" | ||
| "clients": {{ bulk_indexing_clients | default(8) }}, | ||
| "ignore-response-error-level": "{{ error_level | default('non-fatal') }}" | ||
| }, | ||
| { | ||
| "name": "refresh-after-index", | ||
|
|
@@ -387,8 +429,8 @@ | |
| { | ||
| "operation": "update", | ||
| "warmup-time-period": 240, | ||
| "clients": {{bulk_indexing_clients | default(8)}}, | ||
| "ignore-response-error-level": "{{error_level | default('non-fatal')}}" | ||
| "clients": {{ bulk_indexing_clients | default(8) }}, | ||
| "ignore-response-error-level": "{{ error_level | default('non-fatal') }}" | ||
| }, | ||
| { | ||
| "name": "refresh-after-index", | ||
|
|
@@ -454,7 +496,7 @@ | |
| { | ||
| "operation": "index-append", | ||
| "warmup-time-period": 240, | ||
| "clients": {{bulk_indexing_clients | default(8)}} | ||
| "clients": {{ bulk_indexing_clients | default(8) }} | ||
| }, | ||
| { | ||
| "name": "refresh-after-index", | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prudhvigodithi was this arbitrarily changed? Seems like it was done to match the range operations added below.
@OVI3D0 brought up a good point offline: if this isn't backported to previous PRs, there will be a discrepancy when comparing range operations across OpenSearch versions. We should also be careful about making changes to default values in pre-existing operations for legacy workloads.