Monitoring options

Monitoring options for the dsbulk command

Monitor throughput is measured as operations/sec, an operation being a single write or a single read. But this unit of measurement can vary greatly, depending on the size of the row being written or read. A different measure of monitor throughput is mb/sec, to combat the irregularity of measuring by operations/sec. In a load work flow, a typical report shows:
2018-03-14 13:15:48 INFO Memory usage: used: 507 MB, free: 691 MB, allocated: 1,199 MB, available: 3,641 MB, 
    total gc count: 20, total gc time: 346 ms 
2018-03-14 13:15:48 INFO Records: total: 210,755, successful: 210,755, failed: 0, mean: 20,893 records/second 
2018-03-14 13:15:48 INFO Batches: total: 6,602, size: 31.90 mean, 10 min, 32 max 
2018-03-14 13:15:48 INFO Writes: total: 210,669, successful: 210,669, failed: 0, in-flight: 0 
2018-03-14 13:15:48 INFO Throughput: 20,877 writes/second, 1.11 mb/second 
2018-03-14 13:15:48 INFO Latencies: mean 6.29, 75p 2.87, 99p 89.13, 999p 125.83 milliseconds

Specify monitoring options for the dsbulk command.

The options can be used in short form (-k keyspace_name) or long form (--schema.keyspace keyspace_name).

-reportRate,--monitoring.reportRate string

The report interval for the console reporter. The console reporter will print useful metrics about the ongoing operation at this rate. Durations lesser than one second will be rounded up to 1 second.

Default: 5 seconds

--monitoring.csv ( true | false )

Enable or disable CSV reporting. If enabled, CSV files containing metrics will be generated in the designated log directory.

Default: false

--monitoring.durationUnit string

The time unit used when printing latency durations. Valid values: all TimeUnit enum constants.

Default: MILLISECONDS

--monitoring.expectedReads number

The expected total number of reads. Optional, but if set, the console reporter will also print the overall achievement percentage. Setting this value to -1 disables this feature.

Default: -1

--monitoring.expectedWrites number

The expected total number of writes. Optional, but if set, the console reporter will also print the overall achievement percentage. Setting this value to -1 disables this feature.

Default: -1

-jmx,--monitoring.jmx ( true | false )

Enable or disable JMX reporting. Note that to enable remote JMX reporting, several properties must also be set in the JVM during launch. This is accomplished via the DSBULK_JAVA_OPTS environment variable.

Default: true

--monitoring.rateUnit string

The time unit used when printing throughput rates. Valid values: all TimeUnit enum constants.

Default: SECONDS