Skip to content

Commit

Permalink
fix(server): fix the bug which promtheus cant collect hg metric (#2462)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyBoy-WYH authored and VGalaxies committed Mar 5, 2024
1 parent 6565a22 commit c74ec03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static Timer registerTimer(Class<?> clazz, String name) {
}

public static String replaceDotDashInKey(String orgKey) {
return orgKey.replace(".", "_").replace("-", "_");
return orgKey.replace(".", "_").replace("-", "_").replace("/", "_").replace("$", "_");
}

public static String replaceSlashInKey(String orgKey) {
Expand Down

0 comments on commit c74ec03

Please sign in to comment.