minor doc refinements

This commit is contained in:
Jonathan Shook 2020-04-08 13:10:12 -05:00
parent f89c3aeb96
commit 15030cb455
2 changed files with 13 additions and 10 deletions

View File

@ -165,9 +165,11 @@ public class NBCLI {
logger.info("Docker metrics is enabled. Docker must be installed for this to work");
DockerMetricsManager dmh = new DockerMetricsManager();
dmh.startMetrics();
logger.info("Docker Containers are started, for grafana and prometheus, hit" +
String info = "Docker Containers are started, for grafana and prometheus, hit" +
"these urls in your browser: http://<host>:3000 and http://<host>:9090" +
"the default grafana creds are admin/admin");
"the default grafana creds are admin/admin";
logger.info(info);
System.out.println(info);
if (reportGraphiteTo != null) {
logger.warn(String.format("Docker metrics are enabled (--docker-metrics)" +
" but graphite reporting (--report-graphite-to) is set to %s \n" +

View File

@ -8,15 +8,16 @@
./nb docserver
# To run a simple built-in workload run:
./nb cql-iot
./nb cql-iot
# To get a list of workloads run:
./nb --list-workloads
# Note: this will include built-in workloads, shipped with nb and workloads in your local directory.
# To get a list of scenarios to run:
./nb --list-scenarios
# To provide your own contact points (comma separated), add the hosts= parameter
./nb cql-iot hosts=host1,host2
./nb cql-iot hosts=host1,host2
# Additionally, if you have docker installed on your local system, and your user has permissions to use it, you can use --docker-metrics to stand up a live metrics dashboard at port 3000.
./nb cql-iot --docker-metrics
# Additionally, if you have docker installed on your local system,
# and your user has permissions to use it, you can use
# --docker-metrics to stand up a live metrics dashboard at port 3000.
./nb cql-iot --docker-metrics