- last updated 28 day(s) ago
- 2496 daily downloads
- 1159565 total downloads
- Latest version: 2.5.1
Phobos.Tracing 2.0.3
Distributed tracing support for Akka.NET ActorSystems.
Install-Package Phobos.Tracing -Version 2.0.3
dotnet add package Phobos.Tracing --version 2.0.3
<PackageReference Include="Phobos.Tracing" Version="2.0.3"/>
paket add Phobos.Tracing --version 2.0.3
Release Notes
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.
Dependencies
.NETStandard
- Akka (>=1.4.38)
- Google.Protobuf (>=3.19.4)
- OpenTelemetry (>=1.2.0)
- Phobos.Actor.Common (>=1.1.1)
Versions
Info
- last updated 692 day(s) ago
- Project Site
- License Info
Statistics
- 221979 total downloads
- 54 downloads of current version
Owners and Products
PetabridgeAuthors
Petabridge
Copyright
Copyright © 2017-2021 Petabridge
Petabridge