merge fix and more docs

This commit is contained in:
Jonathan Shook 2020-04-06 12:14:44 -05:00
parent 28c83c4204
commit 357f75bf25
3 changed files with 18 additions and 8 deletions

View File

@ -3,7 +3,7 @@ package io.nosqlbench.activitytype.cql.core;
import com.datastax.driver.core.*; import com.datastax.driver.core.*;
import com.datastax.driver.core.policies.*; import com.datastax.driver.core.policies.*;
import io.netty.util.HashedWheelTimer; import io.netty.util.HashedWheelTimer;
import io.nosqlbench.engine.api.exceptions.BasicError; import io.nosqlbench.nb.api.errors.BasicError;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;

View File

@ -31,11 +31,15 @@ types. Try to keep that in mind as you think about designing workloads.
### Review existing examples ### Review existing examples
The built-in workloads that are include with nosqlbench are also shared The built-in workloads that are include with nosqlbench are also easy to copy out as a starting point. You just need to
on the github site where we manage the nosqlbench project: use two commands:
- [baselines](https://github.com/datastax/nosqlbench-labs/tree/master/sample-activities/baselines) # find a workload you want to copy
- [bindings](https://github.com/datastax/nosqlbench-labs/tree/master/sample-activities/bindings) nb --list-workloads
# copy a workload to your local directory
nb --copy-workload cql-iot
### Follow the conventions ### Follow the conventions

View File

@ -33,13 +33,19 @@ To run a simple built-in workload run:
./nb cql-iot ./nb cql-iot
To get a list of built-in workloads run: To get a list of built-in scenarios run:
# Get a list of all named scenarios and parameters
./nb --list-scenarios
If you want a simple list of yamls which contain named scenarios, run:
# Get a simple list of yamls containing named scenarios
./nb --list-workloads ./nb --list-workloads
:::info :::info
Note: this will include workloads that were shipped with nb and workloads in your local directory. To learn more about Note: These commands will include workloads that were shipped with nb and workloads in your local directory. To learn
how to design custom workloads see more about how to design custom workloads see
[designing workloads](/index.html#/docs/designing_workloads.html) [designing workloads](/index.html#/docs/designing_workloads.html)
::: :::