mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
docs update
This commit is contained in:
parent
5164a4d3e1
commit
1c23d5a5ff
@ -107,29 +107,33 @@ Specify the graphite destination and enable reporting
|
|||||||
|
|
||||||
--report-graphite-to <addr>[:<port>]
|
--report-graphite-to <addr>[:<port>]
|
||||||
|
|
||||||
Specify the interval for graphite or CSV reporting in seconds (default: 10)
|
Specify the interval for graphite or CSV reporting in seconds:
|
||||||
|
|
||||||
--report-interval <interval-seconds>
|
--report-interval 10
|
||||||
|
|
||||||
Specify the metrics name prefix for graphite reporting
|
Specify the metrics name prefix for graphite reporting:
|
||||||
|
|
||||||
--metrics-prefix <metrics-prefix>
|
--metrics-prefix <metrics-prefix>
|
||||||
|
|
||||||
Log all HDR histogram data to a file
|
Log all HDR histogram data to a file:
|
||||||
|
|
||||||
--log-histograms histodata.log
|
--log-histograms histodata.log
|
||||||
--log-histograms 'histodata.log:.*'
|
--log-histograms 'histodata.log:.*'
|
||||||
--log-histograms 'histodata.log:.*:1m'
|
--log-histograms 'histodata.log:.*:1m'
|
||||||
--log-histograms 'histodata.log:.*specialmetrics:10s'
|
--log-histograms 'histodata.log:.*specialmetrics:10s'
|
||||||
|
|
||||||
Log HDR histogram stats to a CSV file
|
Log HDR histogram stats to a CSV file:
|
||||||
|
|
||||||
--log-histostats stats.csv
|
--log-histostats stats.csv
|
||||||
--log-histostats 'stats.csv:.*' # same as above
|
--log-histostats 'stats.csv:.*' # same as above
|
||||||
--log-histostats 'stats.csv:.*:1m' # with 1-minute interval
|
--log-histostats 'stats.csv:.*:1m' # with 1-minute interval
|
||||||
--log-histostats 'stats.csv:.*specialmetrics:10s'
|
--log-histostats 'stats.csv:.*specialmetrics:10s'
|
||||||
|
|
||||||
Adjust the progress reporting interval
|
Adjust the HDR histogram precision:
|
||||||
|
|
||||||
|
--hdr-digits 3
|
||||||
|
|
||||||
|
Adjust the progress reporting interval:
|
||||||
|
|
||||||
--progress console:1m
|
--progress console:1m
|
||||||
|
|
||||||
|
@ -17,10 +17,16 @@ public class ToHexString implements Function<ByteBuffer,String> {
|
|||||||
|
|
||||||
private final boolean useUpperCase;
|
private final boolean useUpperCase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the ByteBuffer's contents to a hex string using upper case by default.
|
||||||
|
*/
|
||||||
public ToHexString() {
|
public ToHexString() {
|
||||||
this(true);
|
this(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert the ByteBuffer's contents to a hex string upper or lower case.
|
||||||
|
*/
|
||||||
public ToHexString(boolean useUpperCase) {
|
public ToHexString(boolean useUpperCase) {
|
||||||
this.useUpperCase = useUpperCase;
|
this.useUpperCase = useUpperCase;
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ import java.util.function.LongFunction;
|
|||||||
/**
|
/**
|
||||||
* Converts the byte image of the input long to a MD5 digest in ByteBuffer form.
|
* Converts the byte image of the input long to a MD5 digest in ByteBuffer form.
|
||||||
*/
|
*/
|
||||||
@Categories(Category.conversion)
|
@Categories({Category.conversion,Category.premade})
|
||||||
@ThreadSafeMapper
|
@ThreadSafeMapper
|
||||||
public class ToMD5ByteBuffer implements LongFunction<ByteBuffer> {
|
public class ToMD5ByteBuffer implements LongFunction<ByteBuffer> {
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ import java.util.Iterator;
|
|||||||
*
|
*
|
||||||
* <H2>Usage Patterns</H2>
|
* <H2>Usage Patterns</H2>
|
||||||
*
|
*
|
||||||
* This is intended to be called as an interative data source, where another
|
* This is intended to be called as an interactive data source, where another
|
||||||
* iteration controls flow.
|
* iteration controls flow.
|
||||||
*
|
*
|
||||||
* <H2>Warnings</H2>
|
* <H2>Warnings</H2>
|
||||||
|
Loading…
Reference in New Issue
Block a user