mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
remove more invalid metric labels
This commit is contained in:
parent
aa4d760119
commit
a64aa58fc6
@ -43,7 +43,7 @@ public class OpDef extends OpTemplate {
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return block.getName() + "--" + rawOpDef.getName();
|
||||
return block.getName() + "__" + rawOpDef.getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -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.
|
||||
@ -48,7 +48,7 @@ public class ClassicHistoListener extends CapabilityHook<HistogramAttachment> {
|
||||
@Override
|
||||
public void onCapableAdded(String name, HistogramAttachment capable) {
|
||||
if (pattern.matcher(name).matches()) {
|
||||
String prefixed = prefix + "-" + name;
|
||||
String prefixed = prefix + "_" + name;
|
||||
Histogram classicHisto = new Histogram(new ExponentiallyDecayingReservoir());
|
||||
capable.attachHistogram(classicHisto);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user