|
|
|
@ -88,8 +88,9 @@ public class MonitorAdvice implements DesignerAnalyzerAdvice {
|
|
|
|
|
MessageRecorderFactory.getInstance().syncSubmit(message); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} catch (Exception ignore) { |
|
|
|
|
} catch (Exception ex) { |
|
|
|
|
//埋点信息入库失败应该不能影响业务流程
|
|
|
|
|
FineLoggerFactory.getLogger().debug("[Metric] failed to log message.", ex); |
|
|
|
|
} finally { |
|
|
|
|
sessionBinder.detachSession(); |
|
|
|
|
} |
|
|
|
@ -113,7 +114,11 @@ public class MonitorAdvice implements DesignerAnalyzerAdvice {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void recordSQLDetail(String uuid) { |
|
|
|
|
DBMeterFactory.getMeter().submit(uuid); |
|
|
|
|
try { |
|
|
|
|
DBMeterFactory.getMeter().submit(uuid); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
FineLoggerFactory.getLogger().debug("[Metric] failed to log sql detail.", e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void recordSQL(Compute once, MeasureObject measureObject) { |
|
|
|
|