petabridge / phobos-issues

Public issues and bug tracker for Phobos®
https://phobos.petabridge.com/
2 stars 1 forks source link

Create a gauge for all alive actors of each type in any given `ActorSystem` #63

Closed Aaronontheweb closed 1 year ago

Aaronontheweb commented 2 years ago

This is a fairly significant change, but it should make it much easier for users to get an immediate read on how many total actors are alive in each node for each actor type.

Currently, in order to get this data developers have to subtract akka.actor.created - akka.actor.stopped, which are counters. This works well on platforms like Prometheus, but horribly in environments like Application Insights. Therefore, creating a simple gauge would solve a lot of these problems.

Aaronontheweb commented 1 year ago

Resolved in Phobos 2.1 via the new actor metrics exposed in Akka.NET v1.4.47.