Unfortunately you will not be able to make the same sensor in Dynatrace. Appmon allowed users for almost everything, but instrumenting system methods isn’t good idea in most cases. I‘ve had similar situations as well during migration of the configuration from appmon to DT. I’ve found different entry points for my services. If you have this method executed inside your transaction, you should be able to track number of samples in Method Hotspots.