Skip to content

Commit

Permalink
get agents Info and cluster info service
Browse files Browse the repository at this point in the history
  • Loading branch information
Cat-Drink committed Dec 7, 2024
1 parent 6e2d8ca commit a5e0e5e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ public interface MonitoringService {

JsonNode queryAgentsInfo();

JsonNode queryClusterInfo(String clusterName, String step);
JsonNode queryAgentsInfo(String pace);

JsonNode queryClusterInfo(String clusterId, String pace);
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@ public JsonNode queryAgentsHealthyStatus() {
public JsonNode queryAgentsInfo() {
return prometheusProxy.queryAgentsInfo();
}
@Override
public JsonNode queryAgentsInfo(String pace){
return prometheusProxy.queryAgentsInfo(pace);
}

@Override
public JsonNode queryClusterInfo(String clusterId, String step) {
return prometheusProxy.queryClusterInfo(clusterId, step);
public JsonNode queryClusterInfo(String clusterId, String pace) {
return prometheusProxy.queryClusterInfo(clusterId, pace);
}
}

0 comments on commit a5e0e5e

Please sign in to comment.