zhengyangyong commented on a change in pull request #555: [SCB-327] Update
metrics publish data module (Re-organized)
URL:
https://github.com/apache/incubator-servicecomb-java-chassis/pull/555#discussion_r169550053
##########
File path:
metrics/metrics-core/src/main/java/org/apache/servicecomb/metrics/core/monitor/RegistryMonitor.java
##########
@@ -51,16 +48,14 @@ public ProducerInvocationMonitor
getProducerInvocationMonitor(String operationNa
return producerInvocationMonitors.computeIfAbsent(operationName, i -> new
ProducerInvocationMonitor(operationName));
}
- public RegistryMetric toRegistryMetric(int windowTimeIndex) {
- Map<String, ConsumerInvocationMetric> consumerInvocationMetrics = new
HashMap<>();
+ public Map<String, Double> measure(int windowTimeIndex, boolean
calculateLatency) {
+ Map<String, Double> measurements = new HashMap<>(systemMonitor.measure());
Review comment:
Done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services