remove more invalid metric labels

This commit is contained in:
Jonathan Shook 2023-09-09 00:12:04 -05:00
parent aa4d760119
commit a64aa58fc6
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ public class OpDef extends OpTemplate {
@Override
public String getName() {
return block.getName() + "--" + rawOpDef.getName();
return block.getName() + "__" + rawOpDef.getName();
}
@Override

View File

@ -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);