mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 03:42:07 +08:00
[Bugfix]修复connector指标筛选缺少指标的问题(#846)
This commit is contained in:
@@ -82,6 +82,11 @@ public class ConnectConnectorMetricCollector extends AbstractConnectMetricCollec
|
||||
|
||||
for (VersionControlItem v : items) {
|
||||
try {
|
||||
//过滤已测得指标
|
||||
if (metrics.getMetrics().get(v.getName()) != null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Result<ConnectorMetrics> ret = connectorMetricService.collectConnectClusterMetricsFromKafka(connectClusterId, connectorName, v.getName(), connectorType);
|
||||
if (null == ret || ret.failed() || null == ret.getData()) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user