sketch service formats

This commit is contained in:
Jonathan Shook 2020-08-06 13:50:05 -05:00
parent 886eda126c
commit 9c91f5f348
2 changed files with 23 additions and 2 deletions

View File

@ -2,6 +2,26 @@ package io.nosqlbench.engine.rest.transfertypes;
import io.nosqlbench.engine.core.ScenarioResult;
/**
* TODO: Combine scenario status and pending state to one view
* <pre>{@code
* {
* "scenarioName": "myscenarioname",
* "isComplete": (true|false),
* "isErrored": (true|false),
* "ioLog": "IOLOGLine1\n...\n"
*
* [same progress data as for the pending scenario view]
*
* " whole scenario "
* [constructed link to grafana dashboard for current duration, with selected update interval]
*
* [create snapshot in grafana from the time range of the scenario once complete]
* [link to grafana snapshot]
*
* }
* }</pre>
*/
public class ResultInfo {
private final String scenarioName;
private final ScenarioResult result;

View File

@ -12,10 +12,11 @@ import java.util.Map;
* "name" : "auto",
* "basedir" : "/tmp/nosqlbench",
* "filemap" : {
* "file1.yaml": "contents of file1"
* "file1.yaml": "bindings:\n i: Identity()\n",
* "myscb:base64" : "base64encodeddata.."
* },
* "commands": [
* "run", "workload=file1.yaml", "driver=stdout", "cycles=10M", "cyclerate=100"
* "run", "workload=file1.yaml", "driver=stdout", "cycles=10M", "cyclerate=100", "scb=myscb"
* ]
* }
* }</pre>