feature(web): 增加 a4 集群的监控
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.lanyuanxiaoyao.service.forest.service;
|
||||
|
||||
import com.dtflys.forest.annotation.BaseRequest;
|
||||
|
||||
/**
|
||||
* Yarn 信息
|
||||
*
|
||||
* @author lanyuanxiaoyao
|
||||
* @date 2023-04-21
|
||||
*/
|
||||
@BaseRequest(baseURL = "http://service-yarn-query-a4")
|
||||
public interface YarnA4Service extends YarnService {
|
||||
}
|
||||
@@ -39,13 +39,15 @@ public class YarnClusterService {
|
||||
YarnB1Service yarnB1Service,
|
||||
YarnB5Service yarnB5Service,
|
||||
YarnB5SyncService yarnB5SyncService,
|
||||
YarnB4Service yarnB4Service
|
||||
YarnB4Service yarnB4Service,
|
||||
YarnA4Service yarnA4Service
|
||||
) {
|
||||
MutableMap<String, YarnService> servicesMap = Maps.mutable.empty();
|
||||
servicesMap.put(Constants.CLUSTER_B1, yarnB1Service);
|
||||
servicesMap.put(Constants.CLUSTER_B5, yarnB5Service);
|
||||
servicesMap.put(Constants.CLUSTER_B5_SYNC, yarnB5SyncService);
|
||||
servicesMap.put(Constants.CLUSTER_B4, yarnB4Service);
|
||||
servicesMap.put(Constants.CLUSTER_A4, yarnA4Service);
|
||||
this.servicesMap = servicesMap.toImmutable();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user