Phobos.Actor.Remote 2.12.0

Akka.Remote support for Phobos Enterprise framework.

Install-Package Phobos.Actor.Remote -Version 2.12.0
dotnet add package Phobos.Actor.Remote --version 2.12.0
<PackageReference Include="Phobos.Actor.Remote" Version="2.12.0" />
paket add Phobos.Actor.Remote --version 2.12.0
# Phobos ![Phobos logo](https://raw.githubusercontent.com/petabridge/phobos-issues/refs/heads/master/phobos_logo_small.png) [Phobos](https://phobos.petabridge.com/)™ is an observability plugin for [Akka.NET](https://getakka.net/) that provides [OpenTelemetry](https://opentelemetry.io/)-based tracing, metrics, and log aggregation. [Phobos is available for purchase on Sdkbin](https://sdkbin.com/publisher/petabridge/product/phobos) ## Installation Phobos plugs directly into your Akka.NET `ActorSystem` and immediately starts providing automatic tracing, metrics, and log correlation without you having to write any instrumentation code yourself. ### 1 - Add the `Phobos.Hosting` NuGet Package ```shell dotnet add package Phobos.Hosting ``` ### 2 - Configure OpenTelemetry to Use Phobos Metrics and Tracing ```csharp services // IServiceCollection .AddOpenTelemetry() .ConfigureResource(builder => { builder .AddEnvironmentVariableDetector() .AddTelemetrySdk() .AddServiceVersionDetector(); }) .UseOtlpExporter(OtlpExportProtocol.Grpc, new Uri(otlpEndpoint)) .WithMetrics(c => { c.AddRuntimeInstrumentation() .AddAspNetCoreInstrumentation() .AddHttpClientInstrumentation() .AddPhobosInstrumentation(); // Phobos metrics }) .WithTracing(c => { c.AddHttpClientInstrumentation() .AddAspNetCoreInstrumentation() .AddEntityFrameworkCoreInstrumentation() .AddSqlClientInstrumentation() .AddPhobosInstrumentation(); // Phobos traces }); ``` ### 3 - Add Phobos to Your `ActorSystem` ```csharp public static IServiceCollection AddUserServiceAkka(this IServiceCollection services, Action<AkkaConfigurationBuilder, IServiceProvider> additionalConfig) { return services.AddAkka(ActorSystemName, (builder, sp) => { builder.AddUserServiceActors() WithPhobos(AkkaRunMode.Local, configOptions => {}); additionalConfig.Invoke(builder, sp); }); } ``` And you're done! Akka.NET traces / metrics / logs will now be automatically exported along with your ASP.NET Core, Entity Framework, SqlClient, HttpClient, and other .NET OpenTelemetry data! For more detailed instructions, please see the [Phobos QuickStart Tutorial](https://phobos.petabridge.com/articles/quickstart.html) ## What Data Does Phobos Capture? You can see our full list of automatically collected traces, metrics, and log events here: [https://phobos.petabridge.com/articles/captured-data.html](https://phobos.petabridge.com/articles/captured-data.html) ### Can I Configure What Phobos Collects? Absolutely - [Phobos has finely tuneable noise control capabilities](https://phobos.petabridge.com/articles/trace-filtering.html) that allow you to configure what types of data Phobos collects fronm your application. ### What's the Performance Impact of Phobos on Akka.NET? Tracing and metrics collection always have an amount of instrumentation overhead - you can [view our latest Phobos performance figures and best practices here](https://phobos.petabridge.com/articles/performance.html). Copyright 2018-2025 [Petabridge](https://petabridge.com/), LLC
Loading README...
net8.0
netstandard2.0
Version Downloads Last Updated
2.12.0 Current 4,851 50 day(s) ago
2.11.3 2,190 70 day(s) ago
2.11.2 257 77 day(s) ago
2.11.1 152 78 day(s) ago
2.11.0 1,722 106 day(s) ago
2.10.5 9,777 131 day(s) ago
2.10.4 5,695 181 day(s) ago
2.10.3 180 181 day(s) ago
2.10.2 23,918 251 day(s) ago
2.10.1 2,502 268 day(s) ago
2.10.0 1,745 287 day(s) ago
2.9.1 646 294 day(s) ago
2.9.0 1,374 309 day(s) ago
2.8.5 11,367 383 day(s) ago
2.8.4 4,363 429 day(s) ago
2.8.3 8,330 476 day(s) ago
2.8.2 3,212 510 day(s) ago
2.8.1 1,064 511 day(s) ago
2.8.0 1,952 518 day(s) ago
2.7.0 1,224 524 day(s) ago
2.6.2 1,631 544 day(s) ago
2.6.1 572 551 day(s) ago
2.6.0 1,597 559 day(s) ago
2.5.4 94,758 720 day(s) ago
2.5.3 1,164 730 day(s) ago
2.5.2 1,028 736 day(s) ago
2.5.1 18,593 819 day(s) ago
2.5.0 19,041 855 day(s) ago
2.4.5 2,940 889 day(s) ago
2.4.4 1,021 923 day(s) ago
2.4.3 9,741 930 day(s) ago
2.4.2 4,339 1002 day(s) ago
2.4.1 12,067 1062 day(s) ago
2.4.0 872 1065 day(s) ago
2.3.1 8,743 1120 day(s) ago
2.3.0 5,442 1146 day(s) ago
2.2.1 1,347 1149 day(s) ago
2.2.0 2,248 1202 day(s) ago
2.2.0-beta2 363 1204 day(s) ago
2.1.1 638 979 day(s) ago
2.1.0 1,380 1247 day(s) ago
2.1.0-beta2 616 1336 day(s) ago
2.1.0-beta1 503 1409 day(s) ago
2.0.6 59,753 1468 day(s) ago
2.0.5 500 1472 day(s) ago
2.0.4 468 1476 day(s) ago
2.0.3 480 1483 day(s) ago
2.0.3-beta1 374 1496 day(s) ago
2.0.2 4,619 1520 day(s) ago
2.0.1 573 1526 day(s) ago
2.0.0 447 1527 day(s) ago
2.0.0-beta4 798 1552 day(s) ago
2.0.0-beta3 815 1596 day(s) ago
2.0.0-beta2 373 1597 day(s) ago
2.0.0-beta1 460 1603 day(s) ago
1.6.1 4,751 1149 day(s) ago
1.6.0 469 1154 day(s) ago
1.5.1 14,023 1527 day(s) ago
1.5.0 430 1527 day(s) ago
1.5.0-beta1 362 1552 day(s) ago
1.4.2 12,581 1562 day(s) ago
1.4.1 2,427 1597 day(s) ago
1.4.0 477 1610 day(s) ago
1.3.3 7,384 1626 day(s) ago
1.3.2 868 1639 day(s) ago
1.3.1 922 1650 day(s) ago
1.3.0 7,555 1671 day(s) ago
1.2.5 1,515 1708 day(s) ago
1.2.4 1,129 1710 day(s) ago
1.2.3 3,673 1743 day(s) ago
1.2.2 2,743 1764 day(s) ago
1.2.1 1,106 1772 day(s) ago
1.2.0 2,393 1826 day(s) ago
1.1.4 1,883 1842 day(s) ago
1.1.3 670 1848 day(s) ago
1.1.2 3,833 1868 day(s) ago
1.1.1 6,223 1912 day(s) ago
1.1.0 11,478 1969 day(s) ago
1.0.6 964 2003 day(s) ago
1.0.5 634 2018 day(s) ago
1.0.4 2,032 2039 day(s) ago
1.0.3 1,277 2073 day(s) ago
1.0.2 1,687 2086 day(s) ago
1.0.1 515 2086 day(s) ago
0.8.0 511 1973 day(s) ago
0.7.2 511 1973 day(s) ago
0.7.1 511 1973 day(s) ago
0.7.0 538 1973 day(s) ago
**Phobos 2.x Release** **New Feature: Akka.Streams Trace Continuity** Phobos 2.12.0 adds automatic trace-context propagation through Akka.Streams graphs. With Akka.NET 1.5.66+, which ships the framework-owned `"Akka.Streams"` `ActivitySource`, every element flowing through a stream stage carries its parent trace context forward — connecting your actor message handler, the stream graph stages, and any user spans created inside lambdas (e.g. `SqlClient`, `HttpClient` instrumentation) into one unbroken distributed trace. The resulting trace shape looks like this: ``` [actor] akka.msg.recv RecordOrder [stream] akka.stream.ingress QueueSource [stream] akka.stream.stage SelectAsync [user] db.INSERT (SqlClient / HttpClient / etc.) ``` **Akka.Streams tracing is on by default.** No code changes are required if you already call `AddPhobosInstrumentation()` — it registers the `"Akka.Streams"` `ActivitySource` automatically: ```csharp services.AddOpenTelemetry() .WithTracing(tracing => tracing .AddPhobosInstrumentation() // traceAkkaStreams: true by default .AddOtlpExporter()); ``` To opt out of stream-stage spans: ```csharp services.AddOpenTelemetry() .WithTracing(tracing => tracing .AddPhobosInstrumentation(traceAkkaStreams: false) .AddOtlpExporter()); ``` For details on the underlying Akka.NET `"Akka.Streams"` `ActivitySource`, see: [Akka.Streams OpenTelemetry Tracing](https://getakka.net/articles/streams/stream-tracing.html) in the Akka.NET documentation. See [#1506](https://github.com/petabridge/phobos/pull/1506). **Bug Fixes** - Fixed `ReceiveAsync`/`CommandAsync` message-receive spans closing prematurely before the async handler completed. The `akka.msg.recv` span now stays open for the full duration of the async handler, accurately capturing duration and faults across `await` points. Also un-skips the long-standing `AsyncAwaitRequestResponseWithFiltering` trace-continuity test that was suppressed since Phobos 1.3.0. See [#1528](https://github.com/petabridge/phobos/pull/1528). **Improvements** - Upgraded to [Akka.NET v1.5.67](https://github.com/akkadotnet/akka.net/releases/tag/1.5.67) and [Akka.Hosting v1.5.67](https://github.com/akkadotnet/Akka.Hosting/releases/tag/1.5.67) for latest stability and performance improvements.

Info

Statistics

  • 444900 total downloads
  • 4851 downloads of current version
  • 48.8 KB package size

Owners and Products

Petabridge Petabridge

Authors

Petabridge

Copyright

Copyright © 2017-2026 Petabridge