-
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
Make actor start / stop telemetry descriptors overrideable #7434
Make actor start / stop telemetry descriptors overrideable #7434
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Detailed my changes
/// <summary> | ||
/// Overrideable in order to support issues such as https://github.com/petabridge/phobos-issues/issues/82 | ||
/// </summary> | ||
protected virtual ActorStarted CreateActorStartedEvent() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to customize these events mostly to support F# users, since Akkling actors all use the same base type, this should make them easier to distinguish in Phobos traces and metrics in the future.
@@ -94,6 +94,8 @@ namespace Akka.Actor | |||
public void CheckReceiveTimeout(bool reschedule = True) { } | |||
protected void ClearActor(Akka.Actor.ActorBase actor) { } | |||
protected void ClearActorCell() { } | |||
protected virtual Akka.Actor.ActorStarted CreateActorStartedEvent() { } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part of the public API but only gets access by components that use custom ActorCell
s, which are rare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Changes
Designed to support petabridge/phobos-issues#82
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):