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