- last updated 148 day(s) ago
- 3479 daily downloads
- 1524249 total downloads
- Latest version: 2.5.4
Phobos.Tracing 1.0.3
Distributed tracing support for Akka.NET ActorSystems.
Install-Package Phobos.Tracing -Version 1.0.3
dotnet add package Phobos.Tracing --version 1.0.3
<PackageReference Include="Phobos.Tracing" Version="1.0.3"/>
paket add Phobos.Tracing --version 1.0.3
Release Notes
Added `WrappedTracer` type, designed to make it possible for `OpenTracing.ITracer` implementations which don't support custom `IScopeManager`s to play nicely with Phobos' [`ActorScopeManager`](https://phobos.petabridge.com/api/Phobos.Tracing.Scopes.ActorScopeManager.html), which makes correlation from ASP.NET Core (and other non-Akka.NET services) --> Akka.NET automatic and accurate. The `WrappedTracer` gets invoked automatically via the extension method `.WithScopeManager` present on the `TracerExtensions` class: ```csharp public static void ConfigureDataDogTracing(IServiceCollection services) { // Add DataDog Tracing services.AddSingleton<ITracer>(sp => { return OpenTracingTracerFactory.CreateTracer().WithScopeManager(new ActorScopeManager()); }); } ``` In this case, the DataDog `OpenTracing.ITracer` returned by this method will be nested inside a `WrappedTracer`, which will proxy all of the real underlying tracing calls down to DataDog's client - but Phobos' `ActorScopeManager` will be used to perform all of the correlation activities. Speaking of DataDog, we've also added a DataDog branch to the Phobos Quickstart tutorial Github repository here: https://github.com/petabridge/Petabridge.Phobos.Web/blob/feature/datadog-integration/README.md#working-with-datadog
Dependencies
.NETStandard
- Akka (>=1.4.10)
- Google.Protobuf (>=3.13.0)
- OpenTracing (>=0.12.1)
- Phobos.Actor.Common (>=1.1.1)
Versions
Info
- last updated 1502 day(s) ago
- Project Site
- License Info
Statistics
- 281114 total downloads
- 852 downloads of current version
Owners and Products
PetabridgeAuthors
Petabridge
Copyright
Copyright © 2017-2020 Petabridge
Petabridge