-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telemetry: publish events for each actor create / restart / terminate #6293
Labels
Milestone
Comments
Aaronontheweb
added
enhancement
akka-actor
akka.net v1.4
Issues affecting Akka.NET v1.4
labels
Dec 6, 2022
Aaronontheweb
added a commit
to Aaronontheweb/akka.net
that referenced
this issue
Dec 6, 2022
Aaronontheweb
added a commit
that referenced
this issue
Dec 8, 2022
* added initial actor telemetry for #6293 * added basic telemetry tests for local actors * added spec to validate that `RemoteActorRef` doesn't influence counters * updated `SpawnActorBenchmarks` to include telemetry impact * converted telemetry events into `sealed class`es with `internal` constructors * removed `Reason`
closed via #6294 |
Arkatufus
pushed a commit
to Arkatufus/akka.net
that referenced
this issue
Dec 9, 2022
* added initial actor telemetry for akkadotnet#6293 * added basic telemetry tests for local actors * added spec to validate that `RemoteActorRef` doesn't influence counters * updated `SpawnActorBenchmarks` to include telemetry impact * converted telemetry events into `sealed class`es with `internal` constructors * removed `Reason` (cherry picked from commit 7f68c48)
Aaronontheweb
added a commit
that referenced
this issue
Dec 9, 2022
* add simple actor telemetry (#6294) * added initial actor telemetry for #6293 * added basic telemetry tests for local actors * added spec to validate that `RemoteActorRef` doesn't influence counters * updated `SpawnActorBenchmarks` to include telemetry impact * converted telemetry events into `sealed class`es with `internal` constructors * removed `Reason` (cherry picked from commit 7f68c48) * Update API Verify list * Fix API verify list * Fix API verify list * fix API Verify list Co-authored-by: Aaron Stannard <aaron@petabridge.com>
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #5587
Originally posted by Aaronontheweb February 7, 2022
Is your feature request related to a problem? Please describe.
I've been thinking about this in a few areas:
UpDownCounter
(not yet implemented in .NET) when that gets added to reach a total number and maybe that will be more accurate.actor
commands to show a breakdown of how many actors are alive by hierarchy position and type.Cluster.Subscribe
), but the actual structure of the actor hierarchy itself is difficult to capture here.In particular, some of the work I've been doing around Phobos 2.0 has been leading me to wonder if it makes sense to emit some basic telemetry around actor creation inside Akka.NET itself.
Describe the solution you'd like
I'll have to flesh this out in some more detail, but basically add three
EventStream
events that can be subscribed to:Having a
TerminatedReason
would be really helpful - implementing that alone would be a bit of work, but I think it's achievable.The text was updated successfully, but these errors were encountered: