mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
simplify annotation tags
This commit is contained in:
@@ -160,11 +160,8 @@ public class NBCLI implements Function<String[], Integer>, NBLabeledElement {
|
||||
|
||||
this.sessionCode = SystemId.genSessionCode(sessionTime);
|
||||
this.sessionName = SessionNamer.format(globalOptions.getSessionName(),sessionTime).replaceAll("SESSIONCODE",sessionCode);
|
||||
this.labels = NBLabels.forKV("command", commandName, "appname", "nosqlbench")
|
||||
this.labels = NBLabels.forKV("appname", "nosqlbench")
|
||||
.andInstances("node",SystemId.getNodeId())
|
||||
.andInstances("nodeid",SystemId.getPackedNodeId())
|
||||
// .andInstances("sesscode",sessionCode)
|
||||
.andInstances("session",sessionName)
|
||||
.and(globalOptions.getLabelMap());
|
||||
|
||||
NBCLI.loggerConfig
|
||||
|
||||
Reference in New Issue
Block a user