据我了解,Dynatrace does not support Service Fabric Actors。
是否有可扩展性机制,我可以添加自己?例如,我可以在每个ActorProxy调用之前和之后,和/或在Actor上的每个方法调用之前和之后插入自己吗?
您可以构建a customized ActorProxy
以在调用者端添加日志记录。
接下来,您可以将some code添加到Actor中以在Actor端添加日志记录。使用OnPreActorMethodAsync
和OnPostActorMethodAsync
以及一些反射来获取背景。