-
Notifications
You must be signed in to change notification settings - Fork 1.1k
made IActorTelemetry
events nullable
#7478
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
made IActorTelemetry
events nullable
#7478
Conversation
And don't emit these events when they are `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.
Detailed my changes
if (System.Settings.EmitActorTelemetry) | ||
{ | ||
var actorStarted = CreateActorStartedEvent(); | ||
if(actorStarted != 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.
Don't emit ActorStarted
events if they're null
|
||
if (System.Settings.EmitActorTelemetry) | ||
{ | ||
var stopEvent = CreateActorStoppedEvent(); |
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.
Don't emit ActorStopped
events if they're 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.
LGTM
Changes
And don't emit these events when they are
null
- aimed at fixing petabridge/phobos-issues#86Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):