Actor type information is very useful in Phobos metrics and traces, however when Akka.NET is used with F# API (either official Akka.NET F# API or Akkling OS library), all actors share the same type FunActor (in Akkling there is also FunPersistentActor for actors that impement persistence). FunActor is a generic type, but often its message type is set to "object" (to support processing of Akka system messages), so metrics and traces dashboards show just the same actor type for everything. In traces this can be somewhat improved when manually creating trace spans and passing span name.
There is not much to do about it as long as Phobos metrics and traces use whatever GetType() returns. But since the actor type is only needed to get the type name, perhaps Phobos can extend its metrics and tracing API to support customization of names used for actor types?
Actor type information is very useful in Phobos metrics and traces, however when Akka.NET is used with F# API (either official Akka.NET F# API or Akkling OS library), all actors share the same type FunActor (in Akkling there is also FunPersistentActor for actors that impement persistence). FunActor is a generic type, but often its message type is set to "object" (to support processing of Akka system messages), so metrics and traces dashboards show just the same actor type for everything. In traces this can be somewhat improved when manually creating trace spans and passing span name.
There is not much to do about it as long as Phobos metrics and traces use whatever GetType() returns. But since the actor type is only needed to get the type name, perhaps Phobos can extend its metrics and tracing API to support customization of names used for actor types?