This commit is contained in:
zengqiao
2020-12-19 00:40:52 +08:00
parent 49280a8617
commit 447a575f4f
83 changed files with 1578 additions and 559 deletions

View File

@@ -35,6 +35,8 @@ export interface ITopicBaseInfo {
score: number;
topicCodeC: string;
physicalClusterId: number;
percentile: string;
regionNameList: any;
}
export interface IRealTimeTraffic {
@@ -488,9 +490,9 @@ class Topic {
return getRealTimeTraffic(clusterId, topicName).then(this.setRealTimeTraffic);
}
public getRealConsume(clusterId: number, topicName: string) {
public getRealConsume(clusterId: number, topicName: string, percentile: string) {
this.setConsumeLoading(true);
return getRealConsume(clusterId, topicName).then(this.setRealConsume);
return getRealConsume(clusterId, topicName, percentile).then(this.setRealConsume);
}
public getConnectionInfo(clusterId: number, topicName: string, appId?: string) {