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
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return block.getName() + "--" + rawOpDef.getName();
|
return block.getName() + "__" + rawOpDef.getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2022 nosqlbench
|
* Copyright (c) 2022-2023 nosqlbench
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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
|
@Override
|
||||||
public void onCapableAdded(String name, HistogramAttachment capable) {
|
public void onCapableAdded(String name, HistogramAttachment capable) {
|
||||||
if (pattern.matcher(name).matches()) {
|
if (pattern.matcher(name).matches()) {
|
||||||
String prefixed = prefix + "-" + name;
|
String prefixed = prefix + "_" + name;
|
||||||
Histogram classicHisto = new Histogram(new ExponentiallyDecayingReservoir());
|
Histogram classicHisto = new Histogram(new ExponentiallyDecayingReservoir());
|
||||||
capable.attachHistogram(classicHisto);
|
capable.attachHistogram(classicHisto);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user