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() { private String getLatencyUrl() {
if (StringUtils.isEmpty(latencyUrl)) { if (StringUtils.isEmpty(latencyUrl)) {
String monitorEntry = CloudCenter.getInstance().acquireUrlByKind("cloud.monitor.api.entrypoint", DEFAULT_MONITOR_URL); String monitorEntry = CloudCenter.getInstance().acquireUrlByKind("cloud.monitor.api.entrypoint");
if (StringUtils.isNotEmpty(monitorEntry)) { latencyUrl = (StringUtils.isNotEmpty(monitorEntry) ? monitorEntry : DEFAULT_MONITOR_URL)
latencyUrl = monitorEntry + LATENCY_TABLE_SUFFIX; + LATENCY_TABLE_SUFFIX;
}
} }
return latencyUrl; return latencyUrl;
} }

Loading…
Cancel
Save