mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-25 10:10:32 -06:00
minor docs update and fix for #127
This commit is contained in:
parent
3ec8548913
commit
ebc53ca3a9
@ -92,10 +92,13 @@ public class PolyglotScenarioController {
|
||||
}
|
||||
|
||||
public synchronized void waitMillis(Value spec) {
|
||||
if (spec.fitsInLong()) {
|
||||
if (spec.isString()) {
|
||||
controller.waitMillis(Long.parseLong(spec.asString()));
|
||||
} else if (spec.isNumber()){
|
||||
controller.waitMillis(spec.asLong());
|
||||
} else {
|
||||
throw new InvalidParameterException("long type can't contain " + spec.toString());
|
||||
throw new InvalidParameterException(
|
||||
"unable to convert polyglot type " + spec.toString() + " to a long for waitMillis");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -77,3 +77,12 @@ running real workloads without having to learn much about the machinery that mak
|
||||
|
||||
The rest of this section has a more elaborate example that exposes some of the basic options you may want to adjust for
|
||||
your first serious test.
|
||||
|
||||
:::info
|
||||
|
||||
If you want to see system-level metrics from your cluster, it is possible to get these as well as Apache Cassandra level
|
||||
metrics by using the DSE Metrics Collector (if using DSE), or by setting up a metrics feed to the Prometheus instance in
|
||||
your local docker stack. You can find the DSE Metrics Collector docs
|
||||
[here](https://docs.datastax.com/en/monitoring/doc/monitoring/metricsCollector/mcExportMetricsDocker.html).
|
||||
|
||||
:::
|
||||
|
Loading…
Reference in New Issue
Block a user