|
|
@ -11,6 +11,7 @@ import com.fr.intelli.record.Measurable; |
|
|
|
import com.fr.intelli.record.MeasureObject; |
|
|
|
import com.fr.intelli.record.MeasureObject; |
|
|
|
import com.fr.intelli.record.MeasureUnit; |
|
|
|
import com.fr.intelli.record.MeasureUnit; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
|
|
|
import com.fr.log.message.AbstractMessage; |
|
|
|
import com.fr.measure.DBMeterFactory; |
|
|
|
import com.fr.measure.DBMeterFactory; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.third.net.bytebuddy.asm.Advice; |
|
|
|
import com.fr.third.net.bytebuddy.asm.Advice; |
|
|
@ -75,7 +76,7 @@ public class MonitorAdvice implements DesignerAnalyzerAdvice { |
|
|
|
List<Object> newArgs = new ArrayList<>(Arrays.asList(args)); |
|
|
|
List<Object> newArgs = new ArrayList<>(Arrays.asList(args)); |
|
|
|
newArgs.add(id); |
|
|
|
newArgs.add(id); |
|
|
|
recordSQLDetail(id); |
|
|
|
recordSQLDetail(id); |
|
|
|
Object message = null; |
|
|
|
AbstractMessage message = null; |
|
|
|
try { |
|
|
|
try { |
|
|
|
message = measurable.durableEntity(measureObject, newArgs.toArray()); |
|
|
|
message = measurable.durableEntity(measureObject, newArgs.toArray()); |
|
|
|
} catch (Throwable throwable) { |
|
|
|
} catch (Throwable throwable) { |
|
|
|