|
@ -212,7 +212,7 @@ public class LogEndPoint {
|
|
spanname = spanname.toLowerCase();
|
|
spanname = spanname.toLowerCase();
|
|
List<QuotaSQLModel> logs = new ArrayList<>();
|
|
List<QuotaSQLModel> logs = new ArrayList<>();
|
|
StringBuffer sql = new StringBuffer("SELECT sql,excuteTime,eventStartTime FROM " + adminServerProperties.getRealDefaultIndexName() + " " +
|
|
StringBuffer sql = new StringBuffer("SELECT sql,excuteTime,eventStartTime FROM " + adminServerProperties.getRealDefaultIndexName() + " " +
|
|
" where spanName ='" + spanname + "' and eventName='system_sql_springJDBC_tracer' and eventTime>1500 ");
|
|
|
|
|
|
" where spanName ='" + spanname + "' and eventName='system_sql_springJDBC_tracer' and excuteTime>1500 order by excuteTime desc");
|
|
List<Map<String, Object>> traceidList = elastricSearchHelper.excuceSQL(sql.toString());
|
|
List<Map<String, Object>> traceidList = elastricSearchHelper.excuceSQL(sql.toString());
|
|
if (traceidList.size() > 0) {
|
|
if (traceidList.size() > 0) {
|
|
for (Map<String, Object> one : traceidList) {
|
|
for (Map<String, Object> one : traceidList) {
|