mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
minor updates
This commit is contained in:
parent
e44b5a21b7
commit
b8c9af6e71
@ -192,14 +192,6 @@ public class NBCLIScenarioParser {
|
||||
|
||||
// TODO: simplify this
|
||||
String alias = buildingCmd.get("alias");
|
||||
for (String token : new String[]{"STEP"}) {
|
||||
if (!alias.contains(token)) {
|
||||
logger.warn("Your alias template '" + alias + "' does not contain " + token + ", which will " +
|
||||
"cause your metrics to be combined under the same name. It is strongly advised that you " +
|
||||
"include them in a template like " + WORKLOAD_SCENARIO_STEP + ".");
|
||||
}
|
||||
}
|
||||
|
||||
String workloadToken = workloadContent.asPath().getFileName().toString();
|
||||
|
||||
alias = alias.replaceAll("WORKLOAD", sanitize(workloadToken));
|
||||
|
@ -71,9 +71,9 @@ public class NBSession extends NBBaseComponent implements Function<List<Cmd>, Ex
|
||||
this.clientMetricChecker = new ClientSystemMetricChecker(this, NBLabels.forKV(),10);
|
||||
registerLoadAvgMetrics();
|
||||
registerMemInfoMetrics();
|
||||
registerDiskStatsMetrics();
|
||||
// registerDiskStatsMetrics();
|
||||
registerNetworkInterfaceMetrics();
|
||||
registerStatMetrics();
|
||||
registerCpuStatMetrics();
|
||||
clientMetricChecker.start();
|
||||
|
||||
}
|
||||
@ -239,7 +239,7 @@ public class NBSession extends NBBaseComponent implements Function<List<Cmd>, Ex
|
||||
}
|
||||
}
|
||||
|
||||
private void registerStatMetrics() {
|
||||
private void registerCpuStatMetrics() {
|
||||
StatReader reader = new StatReader();
|
||||
if (!reader.fileExists())
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user