forked from hugegraph/hugegraph-sync
fix(server): fix the bug which promtheus cant collect hg metric (#2462)
This commit is contained in:
parent
3f127f01f1
commit
6861ed5e94
|
|
@ -93,7 +93,7 @@ public class MetricsUtil {
|
|||
}
|
||||
|
||||
public static String replaceDotDashInKey(String orgKey) {
|
||||
return orgKey.replace(".", "_").replace("-", "_");
|
||||
return orgKey.replace(".", "_").replace("-", "_").replace("/", "_").replace("$", "_");
|
||||
}
|
||||
|
||||
public static String replaceSlashInKey(String orgKey) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue