Skip to content
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

Add Running a Workload #6287

Merged
merged 12 commits into from
Feb 13, 2024
Merged

Add Running a Workload #6287

merged 12 commits into from
Feb 13, 2024

Conversation

Naarcha-AWS
Copy link
Collaborator

Closes #6285

Blocked by PR #6164

Checklist

  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
    For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Naarcha-AWS <[email protected]>
@Naarcha-AWS Naarcha-AWS added 2 - In progress Issue/PR: The issue or PR is in progress. benchmark backport 2.11 PR: Backport label for 2.11 labels Jan 29, 2024
@Naarcha-AWS Naarcha-AWS self-assigned this Jan 29, 2024
Comment on lines 39 to 43
To use test mode, create a `<index>-documents-1k.json` file that contains the first 1000 documents from `<index>-documents.json` using the following command:

```
head -n 1000 <index>-documents.json > <index>-documents-1k.json
```
Copy link
Contributor

@IanHoang IanHoang Jan 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need these lines in running a workload section because this is specific to users who are manually creating their own workloads.

Instead, we can say that all official workloads use files such as <index>-documents-1k.json files that contain the first 1000 documents of <index>-documents.json




## Running a workload on your own cluster
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's more apt to say "Running a workload on an external cluster"


## Step 1: Find the workload name

To find the workload name, use the following command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: To find the workload name, use the following command: -> To learn more about the standard workloads that come with OSB, use the following command:


After you've selected the workload, you can invoke the workload using the `opensearch-benchmark execute-test` command. Replace `--target-host` with the `host:port` pairs for your cluster and `--client-options` with any authorization options required to access the cluster. The following example runs the `nyc_taxis` workload on a localhost for testing purposes.

If you want to run a test on an external cluster, see [Running the workload on your own cluster](#running-a-workload-on-your-own-cluster).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Naarcha-AWS This link should point to the updated section name

Copy link
Contributor

@IanHoang IanHoang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Just left a comment

@Naarcha-AWS Naarcha-AWS added 4 - Doc review PR: Doc review in progress and removed 2 - In progress Issue/PR: The issue or PR is in progress. labels Feb 6, 2024

* Replace `https://localhost:9200` with your target cluster endpoint. This could be a URI like `https://search.mydomain.com` or a `HOST:PORT` specification.
* If the cluster is configured with basic authentication, replace the username and password in the command line with the appropriate credentials.
* Remove the `verify_certs:false` directive if you are not specifying `localhost` as your target cluster. This directive is needed only for clusters where SSL certificates are not set up.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Remove the `verify_certs:false` directive if you are not specifying `localhost` as your target cluster. This directive is needed only for clusters where SSL certificates are not set up.
* Remove the `verify_certs:false` directive if you are not specifying `localhost` as your target cluster. This directive is needed only for clusters where SSL certificates are not set up.

Copy link
Collaborator

@vagimeli vagimeli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doc review complete. Please see edits.

_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
```
{% include copy.html %}

A list of all workloads supported by OpenSearch Benchmark appears. Review the list and select the workload that's most similar to the [use case] of your cluster.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A list of all workloads supported by OpenSearch Benchmark appears. Review the list and select the workload that's most similar to the [use case] of your cluster.
The supported workloads for OSB are listed. Review the list and select the workload that best matches your cluster's [use case].

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should "[use case]" include a link?

_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
Co-authored-by: Melissa Vagi <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
@Naarcha-AWS Naarcha-AWS added 5 - Editorial review PR: Editorial review in progress and removed 4 - Doc review PR: Doc review in progress labels Feb 13, 2024
Copy link
Collaborator

@natebower natebower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Naarcha-AWS Please see my comments and changes and let me know if you have any questions. Thanks!

_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved

Now that you're familiar with running OSB on a local cluster, you can run OSB on your external cluster, as described in the following steps:

* Replace `https://localhost:9200` with your target cluster endpoint. This could be a Universal Resource Identifier (URI), such as `https://search.mydomain.com`, or a `HOST:PORT` specification.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirm my Universal/Uniform change. Also, should these be numbered instead of bullets? They're referred to as "steps" above.

_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
_benchmark/user-guide/running-workloads.md Outdated Show resolved Hide resolved
Naarcha-AWS and others added 2 commits February 13, 2024 14:23
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
@Naarcha-AWS Naarcha-AWS merged commit de38df1 into main Feb 13, 2024
4 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 13, 2024
* Add Running a Workload draft

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

* Update running-workloads.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Update _benchmark/user-guide/running-workloads.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Fix link

Signed-off-by: Naarcha-AWS <[email protected]>

* Add additional missing link

Signed-off-by: Naarcha-AWS <[email protected]>

* Add running workloads

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Melissa Vagi <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Add numbered steps

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Melissa Vagi <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
(cherry picked from commit de38df1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Naarcha-AWS Naarcha-AWS deleted the running-workloads branch February 13, 2024 20:28
Naarcha-AWS pushed a commit that referenced this pull request Feb 13, 2024
* Add Running a Workload draft



* Apply suggestions from code review



* Update running-workloads.md



* Update _benchmark/user-guide/running-workloads.md



* Fix link



* Add additional missing link



* Add running workloads



* Apply suggestions from code review



* Apply suggestions from code review




* Apply suggestions from code review




* Add numbered steps



---------





(cherry picked from commit de38df1)

Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Melissa Vagi <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
tianjing-li pushed a commit to tianjing-li/documentation-website that referenced this pull request Feb 14, 2024
* Add Running a Workload draft

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

* Update running-workloads.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Update _benchmark/user-guide/running-workloads.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Fix link

Signed-off-by: Naarcha-AWS <[email protected]>

* Add additional missing link

Signed-off-by: Naarcha-AWS <[email protected]>

* Add running workloads

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Melissa Vagi <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Add numbered steps

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Melissa Vagi <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Tianjing Li <[email protected]>
tianjing-li added a commit to tianjing-li/documentation-website that referenced this pull request Feb 14, 2024
Signed-off-by: Tianjing Li <[email protected]>

Clarification of Customer Comment # 20230525 (opensearch-project#6374)

* 20230525 clarificaton for customer comment on refernes to kibana

Signed-off-by: [email protected] <[email protected]>

* 20230525 clarificaton for customer comment on refernes to kibana - scentance clarification

Signed-off-by: [email protected] <[email protected]>

---------

Signed-off-by: [email protected] <[email protected]>
Signed-off-by: Tianjing Li <[email protected]>

Add searchbp metrics to Performance Analyzer (opensearch-project#5390)

* added searchbp metrics

Signed-off-by: Heather Halter <[email protected]>

* Update reference.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Update reference.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Heather Halter <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Tianjing Li <[email protected]>

Add documentation for new reranking feature in 2.12 (opensearch-project#6368)

* Create reranking.md

document new reranking feature in 2.12

Signed-off-by: HenryL27 <[email protected]>

* Doc review and address comments

Signed-off-by: Fanit Kolchina <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>

* Update _search-plugins/search-pipelines/rerank-processor.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>

* Update _search-plugins/search-pipelines/rerank-processor.md

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>

---------

Signed-off-by: HenryL27 <[email protected]>
Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>
Co-authored-by: Fanit Kolchina <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Tianjing Li <[email protected]>

Add Query Insights documentation (opensearch-project#6261)

* Query Insights initial documentation

Signed-off-by: Chenyang Ji <[email protected]>

* Doc review

Signed-off-by: Fanit Kolchina <[email protected]>

* update endpoints and remove exporters

Signed-off-by: Chenyang Ji <[email protected]>

* Moved query insights to additional plugins section

Signed-off-by: Fanit Kolchina <[email protected]>

* Added installation instructions

Signed-off-by: Fanit Kolchina <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>

* editorial comments

Signed-off-by: Fanit Kolchina <[email protected]>

* Resolve merge conflicts

Signed-off-by: Fanit Kolchina <[email protected]>

* merge conflicts and link fix

Signed-off-by: Fanit Kolchina <[email protected]>

* Fix link

Signed-off-by: Fanit Kolchina <[email protected]>

---------

Signed-off-by: Chenyang Ji <[email protected]>
Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>
Co-authored-by: Fanit Kolchina <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Tianjing Li <[email protected]>

Add Running a Workload (opensearch-project#6287)

* Add Running a Workload draft

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

* Update running-workloads.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Update _benchmark/user-guide/running-workloads.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Fix link

Signed-off-by: Naarcha-AWS <[email protected]>

* Add additional missing link

Signed-off-by: Naarcha-AWS <[email protected]>

* Add running workloads

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Melissa Vagi <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Add numbered steps

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Melissa Vagi <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Tianjing Li <[email protected]>
kolchfa-aws added a commit that referenced this pull request Feb 14, 2024
Clarification of Customer Comment # 20230525 (#6374)

* 20230525 clarificaton for customer comment on refernes to kibana



* 20230525 clarificaton for customer comment on refernes to kibana - scentance clarification



---------




Add searchbp metrics to Performance Analyzer (#5390)

* added searchbp metrics



* Update reference.md



* Update reference.md



* Apply suggestions from code review




---------







Add documentation for new reranking feature in 2.12 (#6368)

* Create reranking.md

document new reranking feature in 2.12



* Doc review and address comments



* Apply suggestions from code review




* Update _search-plugins/search-pipelines/rerank-processor.md




* Update _search-plugins/search-pipelines/rerank-processor.md




---------









Add Query Insights documentation (#6261)

* Query Insights initial documentation



* Doc review



* update endpoints and remove exporters



* Moved query insights to additional plugins section



* Added installation instructions



* Apply suggestions from code review




* editorial comments



* Resolve merge conflicts



* merge conflicts and link fix



* Fix link



---------









Add Running a Workload (#6287)

* Add Running a Workload draft



* Apply suggestions from code review



* Update running-workloads.md



* Update _benchmark/user-guide/running-workloads.md



* Fix link



* Add additional missing link



* Add running workloads



* Apply suggestions from code review



* Apply suggestions from code review




* Apply suggestions from code review




* Add numbered steps



---------

Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Tianjing Li <[email protected]>
Co-authored-by: Melissa Vagi <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
oeyh pushed a commit to oeyh/documentation-website that referenced this pull request Mar 14, 2024
* Add Running a Workload draft

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

* Update running-workloads.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Update _benchmark/user-guide/running-workloads.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Fix link

Signed-off-by: Naarcha-AWS <[email protected]>

* Add additional missing link

Signed-off-by: Naarcha-AWS <[email protected]>

* Add running workloads

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Melissa Vagi <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Add numbered steps

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Melissa Vagi <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
oeyh pushed a commit to oeyh/documentation-website that referenced this pull request Mar 14, 2024
Clarification of Customer Comment # 20230525 (opensearch-project#6374)

* 20230525 clarificaton for customer comment on refernes to kibana



* 20230525 clarificaton for customer comment on refernes to kibana - scentance clarification



---------




Add searchbp metrics to Performance Analyzer (opensearch-project#5390)

* added searchbp metrics



* Update reference.md



* Update reference.md



* Apply suggestions from code review




---------







Add documentation for new reranking feature in 2.12 (opensearch-project#6368)

* Create reranking.md

document new reranking feature in 2.12



* Doc review and address comments



* Apply suggestions from code review




* Update _search-plugins/search-pipelines/rerank-processor.md




* Update _search-plugins/search-pipelines/rerank-processor.md




---------









Add Query Insights documentation (opensearch-project#6261)

* Query Insights initial documentation



* Doc review



* update endpoints and remove exporters



* Moved query insights to additional plugins section



* Added installation instructions



* Apply suggestions from code review




* editorial comments



* Resolve merge conflicts



* merge conflicts and link fix



* Fix link



---------









Add Running a Workload (opensearch-project#6287)

* Add Running a Workload draft



* Apply suggestions from code review



* Update running-workloads.md



* Update _benchmark/user-guide/running-workloads.md



* Fix link



* Add additional missing link



* Add running workloads



* Apply suggestions from code review



* Apply suggestions from code review




* Apply suggestions from code review




* Add numbered steps



---------

Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Tianjing Li <[email protected]>
Co-authored-by: Melissa Vagi <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Editorial review PR: Editorial review in progress backport 2.11 PR: Backport label for 2.11 benchmark
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create page for Running Workloads
4 participants