Skip to content

Conversation

@Arkatufus
Copy link
Contributor

@Arkatufus Arkatufus commented Dec 27, 2024

Changes

  • Improve actor telemetry, add type name override property
  • Make actor telemetry message constructors public

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):

Copy link
Contributor Author

@Arkatufus Arkatufus left a 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)
Copy link
Contributor Author

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; }
Copy link
Contributor Author

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)
Copy link
Contributor Author

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

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb Aaronontheweb merged commit 90e60c6 into akkadotnet:dev Dec 30, 2024
9 of 12 checks passed
@Aaronontheweb Aaronontheweb added this to the 1.5.34 milestone Jan 7, 2025
This was referenced Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants