Loading oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/entity/IntValues.java +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ public class IntValues { values.add(e); } public int findValue(String id, int defaultValue) { public long findValue(String id, int defaultValue) { for (KVInt value : values) { if (value.getId().equals(id)) { return value.getValue(); Loading oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/entity/KVInt.java +1 −1 Original line number Diff line number Diff line Loading @@ -27,5 +27,5 @@ import lombok.*; @Getter public class KVInt { private String id; private int value; private long value; } oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/entity/TopNEntity.java +1 −1 Original line number Diff line number Diff line Loading @@ -28,5 +28,5 @@ import lombok.*; public class TopNEntity { private String name; private String id; private int value; private long value; } query-protocol @ c65a23bd Compare 1122e97b to c65a23bd Original line number Diff line number Diff line Subproject commit 1122e97b5604ae96447bd58ecdb248d7e02952aa Subproject commit c65a23bd6b9bba8d1df30d4de261624952df2b7b oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/query/AggregationQueryEsDAO.java +1 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ public class AggregationQueryEsDAO extends EsDAO implements IAggregationQueryDAO TopNEntity topNEntity = new TopNEntity(); topNEntity.setId(termsBucket.getKeyAsString()); Avg value = termsBucket.getAggregations().get(valueCName); topNEntity.setValue((int)value.getValue()); topNEntity.setValue((long)value.getValue()); topNEntities.add(topNEntity); } Loading Loading
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/entity/IntValues.java +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ public class IntValues { values.add(e); } public int findValue(String id, int defaultValue) { public long findValue(String id, int defaultValue) { for (KVInt value : values) { if (value.getId().equals(id)) { return value.getValue(); Loading
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/entity/KVInt.java +1 −1 Original line number Diff line number Diff line Loading @@ -27,5 +27,5 @@ import lombok.*; @Getter public class KVInt { private String id; private int value; private long value; }
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/entity/TopNEntity.java +1 −1 Original line number Diff line number Diff line Loading @@ -28,5 +28,5 @@ import lombok.*; public class TopNEntity { private String name; private String id; private int value; private long value; }
query-protocol @ c65a23bd Compare 1122e97b to c65a23bd Original line number Diff line number Diff line Subproject commit 1122e97b5604ae96447bd58ecdb248d7e02952aa Subproject commit c65a23bd6b9bba8d1df30d4de261624952df2b7b
oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/query/AggregationQueryEsDAO.java +1 −1 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ public class AggregationQueryEsDAO extends EsDAO implements IAggregationQueryDAO TopNEntity topNEntity = new TopNEntity(); topNEntity.setId(termsBucket.getKeyAsString()); Avg value = termsBucket.getAggregations().get(valueCName); topNEntity.setValue((int)value.getValue()); topNEntity.setValue((long)value.getValue()); topNEntities.add(topNEntity); } Loading