mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
improved error messages
This commit is contained in:
parent
cc0a8751e1
commit
d2c7d1a32f
@ -55,6 +55,9 @@ public class ActivityProgressIndicator implements Runnable {
|
||||
}
|
||||
|
||||
private void parseProgressSpec(String interval) {
|
||||
if (interval==null) {
|
||||
throw new RuntimeException("can't parse progress spec if it is null");
|
||||
}
|
||||
String[] parts = interval.split(":");
|
||||
switch (parts.length) {
|
||||
case 2:
|
||||
|
@ -74,6 +74,7 @@ public class PromPushReporter extends ScheduledReporter {
|
||||
}
|
||||
PromPushReporter.logger.debug("formatted {} metrics in prom expo format", total);
|
||||
final String exposition = sb.toString();
|
||||
logger.trace(() -> "prom exposition format:\n" + exposition);
|
||||
|
||||
final double backoffRatio=1.5;
|
||||
final double maxBackoffSeconds=10;
|
||||
|
Loading…
Reference in New Issue
Block a user