|
|
|
@ -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; |
|
|
|
|
} |
|
|
|
|