- last updated 40 day(s) ago
- 2525 daily downloads
- 490229 total downloads
- Latest version: 2.1.0-beta2
Automatic Akka.NET tracing and monitoring integration as part of the Phobos Enterprise Framework.
Install-Package Phobos.Actor -Version 2.0.3
dotnet add package Phobos.Actor --version 2.0.3
<PackageReference Include="Phobos.Actor" Version="2.0.3"/>
Phobos 2.x Revision Release** [Fixed: Serializer exception when using Phobos and Akka.Hosting](https://github.com/petabridge/phobos-issues/issues/57) - this issue was caused by actor lifecycle tracing leaking `Tracer.CurrentSpan` instances across threads as a result of how actor spawning works on most systems. Specifically, when Akka.Cluster.Sharding was enabled this leaky mechanism made it possible for other `/system` actors responsible for clustering to suddenly have access to active traces, which in turn caused them to wrap built in system messages such as cluster heartbeats with Phobos' tracing envelopes. We've fixed this in two separate ways: 1. Actor lifecycle traces now longer use the `Tracer.CurrentSpan` / `System.Diagnostics.Activity.Current` property, so the source of the leak has been removed; 2. Phobos.Actor now takes a dependency on Akka.Cluster and explicitly excludes all [`Akka.Cluster.IClusterMessage` events](https://getakka.net/api/Akka.Cluster.IClusterMessage.html) from any kind of consideration during tracing.
- Phobos.Monitoring (>=2.0.3)
- Phobos.Tracing (>=2.0.3)
- Akka.Cluster (>=1.4.38)
- Phobos.Actor.Common (>=1.1.1)