mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Fixed some typos with http-keyvalue and http-iot to make them work.
This commit is contained in:
parent
fd8744de0c
commit
e6d43858b1
@ -1,4 +1,4 @@
|
|||||||
# nb -v run driver=http yaml=http-iot tags=phase:schema stargate_host=my_stargate_host
|
# nb -v run driver=http yaml=http-iot tags=phase:schema host=my_stargate_host stargate_host=my_stargate_host auth_token=$AUTH_TOKEN
|
||||||
description: |
|
description: |
|
||||||
This workload emulates a time-series data model and access patterns.
|
This workload emulates a time-series data model and access patterns.
|
||||||
This should be identical to the cql variant except for:
|
This should be identical to the cql variant except for:
|
||||||
@ -85,7 +85,7 @@ blocks:
|
|||||||
params:
|
params:
|
||||||
ratio: <<read_ratio:1>>
|
ratio: <<read_ratio:1>>
|
||||||
statements:
|
statements:
|
||||||
- main-select: GET /v2/keyspaces/<<keyspace:baselines>>/<<table:iot>>?where=E[[{"machine_id":{"$eq":"{machine_id}"}},"sensor_name":{"$eq":"{sensor_name}"},"page-size":{"$eq":"<<limit:10>>"}}]]
|
- main-select: GET http://<<stargate_host:stargate>>:<<stargate_port:8082>>/v2/keyspaces/<<keyspace:baselines>>/<<table:iot>>?where=E[[{"machine_id":{"$eq":"{machine_id}"},"sensor_name":{"$eq":"{sensor_name}"}}]]&page-size=<<limit:10>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
@ -106,7 +106,7 @@ blocks:
|
|||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
"machine_id": "{machine_id}"
|
"machine_id": "{machine_id}",
|
||||||
"sensor_name": "{sensor_name}",
|
"sensor_name": "{sensor_name}",
|
||||||
"time": "{time}",
|
"time": "{time}",
|
||||||
"sensor_value": "{sensor_value}",
|
"sensor_value": "{sensor_value}",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# nb -v run driver=http yaml=http-keyvalue tags=phase:schema stargate_host=my_stargate_host
|
# nb -v run driver=http yaml=http-keyvalue tags=phase:schema stargate_host=my_stargate_host auth_token=$AUTH_TOKEN
|
||||||
description: |
|
description: |
|
||||||
This workload emulates a key-value data model and access patterns.
|
This workload emulates a key-value data model and access patterns.
|
||||||
This should be identical to the cql variant except for:
|
This should be identical to the cql variant except for:
|
||||||
@ -84,7 +84,7 @@ blocks:
|
|||||||
params:
|
params:
|
||||||
ratio: 5
|
ratio: 5
|
||||||
statements:
|
statements:
|
||||||
- main-select: GET /v2/keyspaces/<<keyspace:baselines>>/<<table:keyvalue>>?where=E[[{"key":{"$eq":"{rw_key}"}}}]]
|
- main-select: GET http://<<stargate_host:stargate>>:<<stargate_port:8082>>/v2/keyspaces/<<keyspace:baselines>>/<<table:keyvalue>>/{rw_key}
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
@ -105,7 +105,7 @@ blocks:
|
|||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
"key": "{rw_key}"
|
"key": "{rw_key}",
|
||||||
"value": "{rw_value}"
|
"value": "{rw_value}"
|
||||||
}
|
}
|
||||||
tags:
|
tags:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# nb -v http-tabular rampup-cycles=1E6 main-cycles=1E9 stargate_host=my_stargate_host
|
# nb -v http-tabular rampup-cycles=1E6 main-cycles=1E9 stargate_host=my_stargate_host auth_token=$AUTH_TOKEN
|
||||||
description: |
|
description: |
|
||||||
This workload emulates a time-series data model and access patterns.
|
This workload emulates a time-series data model and access patterns.
|
||||||
This should be identical to the cql variant except for:
|
This should be identical to the cql variant except for:
|
||||||
|
Loading…
Reference in New Issue
Block a user