- last updated 17 hour(s) ago
- 5040 daily downloads
- 1557953 total downloads
- Latest version: 2.6.0
Phobos.Actor 1.0.3
Automatic Akka.NET tracing and monitoring integration as part of the Phobos Enterprise Framework.
Install-Package Phobos.Actor -Version 1.0.3
dotnet add package Phobos.Actor --version 1.0.3
<PackageReference Include="Phobos.Actor" Version="1.0.3"/>
paket add Phobos.Actor --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
- Phobos.Monitoring (>=1.0.3)
- Phobos.Tracing (>=1.0.3)
- Phobos.Actor.Common (>=1.1.1)
Versions
Info
- last updated 1515 day(s) ago
- Project Site
- License Info
Statistics
- 250563 total downloads
- 844 downloads of current version
Owners and Products
PetabridgeAuthors
Petabridge
Copyright
Copyright © 2017-2020 Petabridge
Petabridge