mark fenced code sections with type

This commit is contained in:
Jonathan Shook 2020-08-11 18:02:22 -05:00
parent d9e682758d
commit dca18d9a10
5 changed files with 26 additions and 34 deletions

View File

@ -6,24 +6,21 @@ detailed metrics provided for both.
### Example activity definitions
Run a cql activity named 'cql1', with definitions from activities/cqldefs.yaml
~~~
... driver=cql alias=cql1 workload=cqldefs
~~~
... driver=cql alias=cql1 workload=cqldefs
Run a cql activity defined by cqldefs.yaml, but with shortcut naming
~~~
... driver=cql workload=cqldefs
~~~
... driver=cql workload=cqldefs
Only run statement groups which match a tag regex
~~~
... driver=cql workload=cqldefs tags=group:'ddl.*'
~~~
... driver=cql workload=cqldefs tags=group:'ddl.*'
Run the matching 'dml' statements, with 100 cycles, from [1000..1100)
~~~
... driver=cql workload=cqldefs tags=group:'dml.*' cycles=1000..1100
~~~
... driver=cql workload=cqldefs tags=group:'dml.*' cycles=1000..1100
This last example shows that the cycle range is [inclusive..exclusive),
to allow for stacking test intervals. This is standard across all
activity types.

View File

@ -1,13 +1,12 @@
# MongoDB Driver
This is a driver for MongoDB. It supports the `db.runCommand` API described in [here](https://docs.mongodb.com/manual/reference/command/).
This is a driver for MongoDB. It supports the `db.runCommand` API described in [here](https://docs.mongodb.com/manual/reference/command/).
### Example activity definitions
Run a mongodb activity with definitions from activities/mongodb-basic.yaml
```
... driver=mongodb yaml=activities/mongo-basic.yaml
```
... driver=mongodb yaml=activities/mongo-basic.yaml
### MongoDB ActivityType Parameters

View File

@ -8,19 +8,16 @@ that uses the curly brace token form in statements.
## Example activity definitions
Run a stdout activity named 'stdout-test', with definitions from activities/stdout-test.yaml
~~~
... driver=stdout workload=stdout-test
~~~
... driver=stdout workload=stdout-test
Only run statement groups which match a tag regex
~~~
... driver=stdout workload=stdout-test tags=group:'ddl.*'
~~~
... driver=stdout workload=stdout-test tags=group:'ddl.*'
Run the matching 'dml' statements, with 100 cycles, from [1000..1100)
~~~
... driver=stdout workload=stdout-test tags=group:'dml.*' cycles=1000..11000 filename=test.csv
~~~
... driver=stdout workload=stdout-test tags=group:'dml.*' cycles=1000..11000 filename=test.csv
This last example shows that the cycle range is [inclusive..exclusive),
to allow for stacking test intervals. This is standard across all

View File

@ -19,9 +19,8 @@ a very high value. In this case, the tries metric will still give you some measu
## Examples
Run a stdout activity named 'stdout-test', with definitions from activities/stdout-test.yaml
~~~
... driver=tcpserver yaml=stdout-test
~~~
... driver=tcpserver yaml=stdout-test
## Driver Parameters
@ -41,7 +40,7 @@ Run a stdout activity named 'stdout-test', with definitions from activities/stdo
To enable, specifies the type of the SSL implementation with either `jdk` or `openssl`.
[Additional parameters may need to be provided](../../../../driver-cql/src/main/resources/ssl.md).
- **host** - this is the name to connect to (remote server IP address)
- default: localhost
- dynamic: false

View File

@ -21,9 +21,9 @@ saturation.
## Examples
Run a stdout activity named 'stdout-test', with definitions from activities/stdout-test.yaml
~~~
... driver=tcpserver yaml=stdout-test
~~~
... driver=tcpserver yaml=stdout-test
## Driver Parameters
@ -40,11 +40,11 @@ Run a stdout activity named 'stdout-test', with definitions from activities/stdo
- **ssl** - boolean to enable or disable ssl
- default: false
- dynamic: false
To enable, specifies the type of the SSL implementation with either `jdk` or `openssl`.
[Additional parameters may need to be provided](../../../../driver-cql/src/main/resources/ssl.md).
- **host** - this is the name to bind to (local interface address)
- default: localhost
- dynamic: false