mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
minor updates, notes collected into gh issues
This commit is contained in:
@@ -242,10 +242,6 @@ public class NBCLI implements Function<String[], Integer>, NBLabeledElement {
|
|||||||
|
|
||||||
NBIO.addGlobalIncludes(options.wantsIncludes());
|
NBIO.addGlobalIncludes(options.wantsIncludes());
|
||||||
|
|
||||||
// TODO: metrics
|
|
||||||
// ActivityMetrics.setHdrDigits(options.getHdrDigits());
|
|
||||||
// ActivityMetrics.setLabelValidator(options.getAnnotateLabelSpec());
|
|
||||||
|
|
||||||
if (options.wantsBasicHelp()) {
|
if (options.wantsBasicHelp()) {
|
||||||
System.out.println(this.loadHelpFile("basic.md"));
|
System.out.println(this.loadHelpFile("basic.md"));
|
||||||
return NBCLI.EXIT_OK;
|
return NBCLI.EXIT_OK;
|
||||||
@@ -366,7 +362,6 @@ public class NBCLI implements Function<String[], Integer>, NBLabeledElement {
|
|||||||
.build()
|
.build()
|
||||||
);
|
);
|
||||||
|
|
||||||
// TODO: metrics
|
|
||||||
// if ((null != reportPromPushTo) || (null != reportGraphiteTo) || (null != options.wantsReportCsvTo())) {
|
// if ((null != reportPromPushTo) || (null != reportGraphiteTo) || (null != options.wantsReportCsvTo())) {
|
||||||
// final MetricReporters reporters = MetricReporters.getInstance();
|
// final MetricReporters reporters = MetricReporters.getInstance();
|
||||||
// reporters.addRegistry("workloads", ActivityMetrics.getMetricRegistry());
|
// reporters.addRegistry("workloads", ActivityMetrics.getMetricRegistry());
|
||||||
|
|||||||
@@ -422,7 +422,7 @@ public class ActivityExecutor implements NBLabeledElement, ActivityController, P
|
|||||||
this.exception = e;
|
this.exception = e;
|
||||||
} finally {
|
} finally {
|
||||||
stoppedAt = System.currentTimeMillis();
|
stoppedAt = System.currentTimeMillis();
|
||||||
unregisterMetrics();
|
// TODO: close out metrics outputs on component tree if needed
|
||||||
activity.shutdownActivity();
|
activity.shutdownActivity();
|
||||||
activity.closeAutoCloseables();
|
activity.closeAutoCloseables();
|
||||||
ExecutionResult result = new ExecutionResult(startedAt, stoppedAt, "", exception);
|
ExecutionResult result = new ExecutionResult(startedAt, stoppedAt, "", exception);
|
||||||
|
|||||||
@@ -424,7 +424,6 @@ public class ActivitiesController extends NBBaseComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void reportMetrics() {
|
public void reportMetrics() {
|
||||||
// TODO: metrics
|
|
||||||
// ActivityMetrics.reportTo(System.out);
|
// ActivityMetrics.reportTo(System.out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ public class RelevancyMeasures implements NBLabeledElement {
|
|||||||
for (RelevancyFunction function : f) {
|
for (RelevancyFunction function : f) {
|
||||||
this.functions.add(function);
|
this.functions.add(function);
|
||||||
function.prependLabels(this);
|
function.prependLabels(this);
|
||||||
// TODO: metrics
|
|
||||||
// DoubleSummaryGauge gauge = ActivityMetrics.summaryGauge(function, function.getUniqueName());
|
// DoubleSummaryGauge gauge = ActivityMetrics.summaryGauge(function, function.getUniqueName());
|
||||||
// this.gauges.add(gauge);
|
// this.gauges.add(gauge);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ public class ScriptExampleTests {
|
|||||||
return scenarioResult;
|
return scenarioResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Disabled
|
||||||
@BeforeAll
|
@BeforeAll
|
||||||
public static void logit() {
|
public static void logit() {
|
||||||
System.out.println("Running ASYNC version of Script Integration Tests.");
|
System.out.println("Running ASYNC version of Script Integration Tests.");
|
||||||
|
|||||||
Reference in New Issue
Block a user