Skip to content

Commit

Permalink
fix issues/277 Prometheus port occupation (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
javaht authored Jun 19, 2023
1 parent a6bf6b8 commit cfe5a84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void handlerServiceRoleInfo(ServiceRoleInfo serviceRoleInfo, String hostn
@Override
public void handlerServiceRoleCheck(ClusterServiceRoleInstanceEntity roleInstanceEntity,
Map<String, ClusterServiceRoleInstanceEntity> map) {
String url = "http://" + roleInstanceEntity.getHostname() + ":9090";
String url = "http://" + roleInstanceEntity.getHostname() + ":9090/alerts";
try {
HttpUtil.get(url);
// recover alert
Expand Down

0 comments on commit cfe5a84

Please sign in to comment.