You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/10/07 23:41:05 UTC

[GitHub] heyile commented on a change in pull request #944: [SCB-950] modify consumer producer metrics and add edge metrics

heyile commented on a change in pull request #944: [SCB-950] modify consumer producer metrics and add edge metrics
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/944#discussion_r223233056
 
 

 ##########
 File path: metrics/metrics-core/src/main/java/org/apache/servicecomb/metrics/core/publish/statistics/MeterDetailStatisticsModel.java
 ##########
 @@ -0,0 +1,204 @@
+package org.apache.servicecomb.metrics.core.publish.statistics;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.servicecomb.metrics.core.meter.invocation.MeterInvocationConst;
+import org.apache.servicecomb.metrics.core.publish.model.invocation.OperationPerf;
+import org.apache.servicecomb.metrics.core.publish.model.invocation.PerfInfo;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class MeterDetailStatisticsModel {
 
 Review comment:
   well. the data structure is different with  before.
   for example:
   
   old:
   rest.200:
     xx  xxx xx xx  sayHi
     xxx xx xx xx   sayHello
   rest.400:
     xx  xxx xx xx  sayHi
     xxx xx xx xx   sayHello
   
   now: 
   sayHi:
      rest200:
         xx xx xxx
      rest400:
         xx xx xxx
   sayHello:
      rest200:
         xx xx xxx
      rest400:
         xx xx xxx
     Hence, I have to load all  data, And then restructure it

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services