Browse Source

REPORT-117002 设计器性能埋点监控 调整代码

release/11.0
Levy.Xie-解安森 4 months ago
parent
commit
5e915785e1
  1. 7
      designer-base/src/main/java/com/fr/design/carton/latency/DesignerLatencyMetric.java

7
designer-base/src/main/java/com/fr/design/carton/latency/DesignerLatencyMetric.java

@ -107,10 +107,9 @@ public class DesignerLatencyMetric {
private String getLatencyUrl() {
if (StringUtils.isEmpty(latencyUrl)) {
String monitorEntry = CloudCenter.getInstance().acquireUrlByKind("cloud.monitor.api.entrypoint", DEFAULT_MONITOR_URL);
if (StringUtils.isNotEmpty(monitorEntry)) {
latencyUrl = monitorEntry + LATENCY_TABLE_SUFFIX;
}
String monitorEntry = CloudCenter.getInstance().acquireUrlByKind("cloud.monitor.api.entrypoint");
latencyUrl = (StringUtils.isNotEmpty(monitorEntry) ? monitorEntry : DEFAULT_MONITOR_URL)
+ LATENCY_TABLE_SUFFIX;
}
return latencyUrl;
}

Loading…
Cancel
Save