1

As I understand, Dynatrace does not support Service Fabric Actors.

Is there an extensibility mechanism where I could add myself? For example, can I plug myself before and after every ActorProxy call, and/or before and after every method call on an Actor?

Super Jade
  • 5,609
  • 7
  • 39
  • 61
pisees
  • 11
  • 2

1 Answers1

0

You can build a customized ActorProxy to add logging on the caller side.

Next, you can add some code into the Actor to add logging on the Actor side. Use OnPreActorMethodAsync and OnPostActorMethodAsync and some reflection to get context.

LoekD
  • 11,402
  • 17
  • 27
  • You could use the Dynatrace SDK to leverage these hooks and get to a complete PurePath. It exists for multiple technologies, including .NET. You can do distributed tracing (trace incoming/outgoing calls): https://github.com/Dynatrace/OneAgent-SDK – chrisn Apr 05 '19 at 12:43