-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Improve actor telemetry types #7439
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
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.
Self-review
| /// <summary> | ||
| /// Overrideable in order to support issues such as https://github.com/petabridge/phobos-issues/issues/82 | ||
| /// </summary> | ||
| protected virtual ActorRestarted CreateActorRestartedEvent(Exception cause) |
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.
Add override for ActorRestarted
| /// <summary> | ||
| /// A type name override for the actor | ||
| /// </summary> | ||
| public string ActorTypeOverride { get; } |
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.
Add new actor type name override property
| public sealed class ActorStarted : IActorTelemetryEvent | ||
| { | ||
| internal ActorStarted(IActorRef subject, Type actorType) | ||
| public ActorStarted(IActorRef subject, Type actorType, string? actorTypeOverride = null) |
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.
Make actor telemetry message constructors public
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
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):