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