未验证 提交 b20f121e 编写于 作者: K kezhenxu94 提交者: GitHub

Fix that `sortMetrics` should only return `long` not `double` (#7698)

上级 d06cb76e
......@@ -57,7 +57,7 @@ Log framework config examples:
module](https://docs.python.org/3/library/logging.html) with functionalities aligning with the Java toolkits.
To explore how to enable the reporting features for your use cases, please refer to the
[Log Reporter Doc](https://github.com/apache/skywalking-python/blob/master/docs/LogReporter.md) for a detailed guide.
[Log Reporter Doc](https://github.com/apache/skywalking-python/blob/master/docs/en/setup/advanced/LogReporter.md) for a detailed guide.
## Log Analyzer
......
......@@ -118,7 +118,7 @@ public class AggregationQueryEsDAO extends EsDAO implements IAggregationQueryDAO
SelectedRecord record = new SelectedRecord();
record.setId((String) termsBucket.get("key"));
Map<String, Object> value = (Map<String, Object>) termsBucket.get(valueColumnName);
record.setValue(String.valueOf(value.get("value")));
record.setValue(String.valueOf(((Number) value.get("value")).longValue()));
topNList.add(record);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册