Browse Source

Pull request #11215: REPORT-84144 智能运维RPC部分移除

Merge in DESIGN/design from ~BRYANT/design:release/11.0 to release/11.0

* commit '01c1bfe0a17ad707aa72db807583cd6843c96387':
  REPORT-84144 智能运维RPC部分移除
newui
Bryant-赵东升 2 years ago
parent
commit
93540e8254
  1. 3
      designer-base/src/main/java/com/fr/design/record/analyzer/advice/MonitorAdvice.java

3
designer-base/src/main/java/com/fr/design/record/analyzer/advice/MonitorAdvice.java

@ -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) {

Loading…
Cancel
Save