Phobos.Tracing 2.13.0
Distributed tracing support for Akka.NET ActorSystems.
Install-Package Phobos.Tracing -Version 2.13.0
dotnet add package Phobos.Tracing --version 2.13.0
<PackageReference Include="Phobos.Tracing" Version="2.13.0" />
paket add Phobos.Tracing --version 2.13.0
Paket is a third-party, open source alternative to the NuGet client.
# Phobos

[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
- Akka (>=1.5.71)
- Google.Protobuf (>=3.26.1)
- OpenTelemetry (>=1.15.3)
- Phobos.Actor.Common (>=1.1.2)
netstandard2.0
- Akka (>=1.5.71)
- Google.Protobuf (>=3.26.1)
- OpenTelemetry (>=1.15.3)
- Phobos.Actor.Common (>=1.1.2)
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 2.13.0 Current | 1 | 2 hour(s) ago | |
| 2.12.1 | 1,412 | 27 day(s) ago | |
| 2.12.0 | 16,114 | 147 day(s) ago | |
| 2.11.3 | 2,520 | 168 day(s) ago | |
| 2.11.2 | 362 | 175 day(s) ago | |
| 2.11.1 | 327 | 176 day(s) ago | |
| 2.11.0 | 1,863 | 204 day(s) ago | |
| 2.10.5 | 16,617 | 229 day(s) ago | |
| 2.10.4 | 6,587 | 279 day(s) ago | |
| 2.10.3 | 283 | 279 day(s) ago | |
| 2.10.2 | 28,558 | 348 day(s) ago | |
| 2.10.1 | 2,601 | 366 day(s) ago | |
| 2.10.0 | 1,988 | 385 day(s) ago | |
| 2.9.1 | 752 | 392 day(s) ago | |
| 2.9.0 | 1,476 | 407 day(s) ago | |
| 2.8.5 | 11,588 | 481 day(s) ago | |
| 2.8.4 | 4,538 | 526 day(s) ago | |
| 2.8.3 | 8,459 | 574 day(s) ago | |
| 2.8.2 | 3,478 | 608 day(s) ago | |
| 2.8.1 | 1,165 | 609 day(s) ago | |
| 2.8.0 | 2,061 | 615 day(s) ago | |
| 2.7.0 | 1,322 | 622 day(s) ago | |
| 2.6.2 | 1,733 | 642 day(s) ago | |
| 2.6.1 | 671 | 648 day(s) ago | |
| 2.6.0 | 1,694 | 657 day(s) ago | |
| 2.5.4 | 108,067 | 818 day(s) ago | |
| 2.5.3 | 1,268 | 828 day(s) ago | |
| 2.5.2 | 1,124 | 834 day(s) ago | |
| 2.5.1 | 19,078 | 917 day(s) ago | |
| 2.5.0 | 24,635 | 953 day(s) ago | |
| 2.4.5 | 3,043 | 987 day(s) ago | |
| 2.4.4 | 1,122 | 1021 day(s) ago | |
| 2.4.3 | 9,942 | 1028 day(s) ago | |
| 2.4.2 | 12,258 | 1100 day(s) ago | |
| 2.4.1 | 12,083 | 1160 day(s) ago | |
| 2.4.0 | 889 | 1163 day(s) ago | |
| 2.3.1 | 8,734 | 1218 day(s) ago | |
| 2.3.0 | 13,109 | 1244 day(s) ago | |
| 2.2.1 | 1,341 | 1247 day(s) ago | |
| 2.2.0 | 2,361 | 1300 day(s) ago | |
| 2.2.0-beta2 | 467 | 1302 day(s) ago | |
| 2.1.1 | 708 | 1077 day(s) ago | |
| 2.1.0 | 2,307 | 1345 day(s) ago | |
| 2.1.0-beta2 | 718 | 1434 day(s) ago | |
| 2.1.0-beta1 | 604 | 1507 day(s) ago | |
| 2.0.6 | 66,075 | 1566 day(s) ago | |
| 2.0.5 | 600 | 1569 day(s) ago | |
| 2.0.4 | 567 | 1574 day(s) ago | |
| 2.0.3 | 586 | 1581 day(s) ago | |
| 2.0.3-beta1 | 474 | 1594 day(s) ago | |
| 2.0.2 | 4,729 | 1618 day(s) ago | |
| 2.0.1 | 675 | 1624 day(s) ago | |
| 2.0.0 | 567 | 1625 day(s) ago | |
| 2.0.0-beta4 | 901 | 1650 day(s) ago | |
| 2.0.0-beta3 | 918 | 1694 day(s) ago | |
| 2.0.0-beta2 | 475 | 1695 day(s) ago | |
| 2.0.0-beta1 | 562 | 1701 day(s) ago | |
| 1.6.1 | 4,738 | 1247 day(s) ago | |
| 1.6.0 | 623 | 1252 day(s) ago | |
| 1.5.1 | 14,208 | 1625 day(s) ago | |
| 1.5.0 | 532 | 1625 day(s) ago | |
| 1.5.0-beta1 | 462 | 1650 day(s) ago | |
| 1.4.2 | 13,179 | 1660 day(s) ago | |
| 1.4.1 | 2,535 | 1695 day(s) ago | |
| 1.4.0 | 584 | 1708 day(s) ago | |
| 1.3.3 | 7,483 | 1724 day(s) ago | |
| 1.3.2 | 969 | 1737 day(s) ago | |
| 1.3.1 | 1,024 | 1748 day(s) ago | |
| 1.3.0 | 7,653 | 1769 day(s) ago | |
| 1.2.5 | 1,692 | 1806 day(s) ago | |
| 1.2.4 | 1,232 | 1808 day(s) ago | |
| 1.2.3 | 3,782 | 1841 day(s) ago | |
| 1.2.2 | 2,848 | 1862 day(s) ago | |
| 1.2.1 | 1,208 | 1870 day(s) ago | |
| 1.2.0 | 2,494 | 1924 day(s) ago | |
| 1.1.4 | 1,988 | 1940 day(s) ago | |
| 1.1.3 | 769 | 1946 day(s) ago | |
| 1.1.2 | 3,929 | 1966 day(s) ago | |
| 1.1.1 | 6,321 | 2009 day(s) ago | |
| 1.1.0 | 11,586 | 2067 day(s) ago | |
| 1.0.6 | 1,083 | 2101 day(s) ago | |
| 1.0.5 | 738 | 2116 day(s) ago | |
| 1.0.4 | 2,134 | 2136 day(s) ago | |
| 1.0.3 | 1,379 | 2171 day(s) ago | |
| 1.0.2 | 1,764 | 2184 day(s) ago | |
| 1.0.1 | 616 | 2184 day(s) ago | |
| 0.7.0 | 36,665 | 2070 day(s) ago | |
| 0.6.1 | 613 | 2070 day(s) ago | |
| 0.6.0 | 722 | 2070 day(s) ago |
**Phobos 2.x Maintenance Release**
**Bug Fixes**
- Fixed receive metrics (and the matching receive-span `messageType` attribute) to label the inner wrapped payload instead of the outer envelope type. Application code that unpacks `IWrappedMessage` envelopes can now get per-message breakdowns by the business message actually being processed, rather than the generic wrapper type. See [phobos-issues#96](https://github.com/petabridge/phobos-issues/issues/96).
- Fixed explicit child and runtime instrumentation settings being overridden for `Cluster.Sharding` entities. A child's own `WithInstrumentation` (and runtime settings) now takes precedence over settings propagated from its parent, so sharded/custom entities can opt out of or fine-tune tracing even when propagation is enabled. See [phobos-issues#98](https://github.com/petabridge/phobos-issues/issues/98).
Info
- last updated 2 hour(s) ago
- Project Site
- License Info
Statistics
- 556710 total downloads
- 1 downloads of current version
- 68.4 KB package size
Owners and Products
Petabridge
Authors
Petabridge
Copyright
Copyright © 2017-2026 Petabridge