mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
remove charting feature
This commit is contained in:
parent
722ac6571a
commit
3681bb3a88
@ -505,10 +505,6 @@ public class Scenario extends NBBaseComponent implements Callable<ExecutionMetri
|
||||
return this.state;
|
||||
}
|
||||
|
||||
public void enableCharting() {
|
||||
final MetricRegistry metricRegistry = ActivityMetrics.getMetricRegistry();
|
||||
}
|
||||
|
||||
public String getReportSummaryTo() {
|
||||
return this.reportSummaryTo;
|
||||
}
|
||||
|
@ -381,14 +381,11 @@ public class ActivityMetrics {
|
||||
* @param showChart
|
||||
* whether to chart metrics on console
|
||||
*/
|
||||
public static void closeMetrics(boolean showChart) {
|
||||
public static void closeMetrics() {
|
||||
logger.trace("Closing all registered metrics closable objects.");
|
||||
for (MetricsCloseable metricsCloseable : metricsCloseables) {
|
||||
logger.trace(() -> "closing metrics closeable: " + metricsCloseable);
|
||||
metricsCloseable.closeMetrics();
|
||||
if (showChart) {
|
||||
metricsCloseable.chart();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 nosqlbench
|
||||
* Copyright (c) 2022-2023 nosqlbench
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -136,11 +136,6 @@ public class HistoIntervalLogger extends CapabilityHook<HdrDeltaHistogramAttach
|
||||
logStream.close();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void chart() {
|
||||
HistoLogChartGenerator.generateChartFromHistoLog(this);
|
||||
}
|
||||
|
||||
private static class WriterTarget implements Comparable<WriterTarget> {
|
||||
|
||||
public String name;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 nosqlbench
|
||||
* Copyright (c) 2022-2023 nosqlbench
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -127,11 +127,6 @@ public class HistoStatsLogger extends CapabilityHook<HdrDeltaHistogramAttachment
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void chart() {
|
||||
// nothing-to-do we only chart HistoIntervals not HistoStats
|
||||
}
|
||||
|
||||
private static class WriterTarget implements Comparable<WriterTarget> {
|
||||
|
||||
public String name;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 nosqlbench
|
||||
* Copyright (c) 2022-2023 nosqlbench
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -18,5 +18,4 @@ package io.nosqlbench.api.engine.metrics;
|
||||
|
||||
public interface MetricsCloseable {
|
||||
void closeMetrics();
|
||||
void chart();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user