File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -465,6 +465,18 @@ java -jar stream-perf-test.jar --producer-names %s-%d
465
465
466
466
The run will start one producer and will use the `stream-1` producer reference (default stream is `stream` and the number of the producer is 1.)
467
467
468
+ ===== Monitoring
469
+
470
+ The tool can expose some runtime information on HTTP.
471
+ The default port is 8080.
472
+ The following options are available:
473
+
474
+ * `--monitoring`: add a `threaddump` endpoint to display a thread dump of the process.
475
+ This can be useful to inspect threads if the tool seems blocked.
476
+ * `--prometheus`: add a `metrics` endpoint to expose metrics using the Prometheus format.
477
+ The endpoint can then be declared in a Prometheus instance to scrape the metrics.
478
+ * `--monitoring-port`: set the port to use for the web server.
479
+
468
480
===== Logging
469
481
470
482
The performance tool binary uses Logback with an internal configuration file.
You can’t perform that action at this time.
0 commit comments