Phobos.Hosting 2.10.5
Akka.Hosting prototype support for Phobos.
Install-Package Phobos.Hosting -Version 2.10.5
dotnet add package Phobos.Hosting --version 2.10.5
<PackageReference Include="Phobos.Hosting" Version="2.10.5" />
paket add Phobos.Hosting --version 2.10.5
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
- Phobos.Actor.Cluster (>=2.10.5)
- Akka.Cluster.Hosting (>=1.5.59)
netstandard2.0
- Phobos.Actor.Cluster (>=2.10.5)
- Akka.Cluster.Hosting (>=1.5.59)
| Version | Downloads | Last Updated |
|---|---|---|
| 2.10.5 Current | 0 | 3 hour(s) ago |
| 2.10.4 | 2,978 | 50 day(s) ago |
| 2.10.3 | 59 | 50 day(s) ago |
| 2.10.2 | 6,415 | 119 day(s) ago |
| 2.10.1 | 1,866 | 137 day(s) ago |
| 2.10.0 | 1,172 | 156 day(s) ago |
| 2.9.1 | 505 | 163 day(s) ago |
| 2.9.0 | 760 | 178 day(s) ago |
| 2.8.5 | 10,329 | 252 day(s) ago |
| 2.8.4 | 3,644 | 297 day(s) ago |
| 2.8.3 | 7,496 | 345 day(s) ago |
| 2.8.2 | 3,145 | 379 day(s) ago |
| 2.8.1 | 711 | 380 day(s) ago |
| 2.8.0 | 1,856 | 386 day(s) ago |
| 2.7.0 | 1,072 | 393 day(s) ago |
| 2.6.2 | 1,463 | 413 day(s) ago |
| 2.6.1 | 470 | 419 day(s) ago |
| 2.6.0 | 1,494 | 427 day(s) ago |
| 2.5.4 | 87,362 | 589 day(s) ago |
| 2.5.3 | 1,089 | 599 day(s) ago |
| 2.5.2 | 899 | 605 day(s) ago |
| 2.5.1 | 17,756 | 688 day(s) ago |
| 2.5.0 | 6,781 | 723 day(s) ago |
| 2.4.5 | 2,407 | 757 day(s) ago |
| 2.4.4 | 604 | 792 day(s) ago |
| 2.4.3 | 1,093 | 799 day(s) ago |
| 2.4.2 | 1,488 | 871 day(s) ago |
| 2.4.1 | 7,607 | 931 day(s) ago |
| 2.4.0 | 648 | 934 day(s) ago |
| 2.3.1 | 6,332 | 989 day(s) ago |
| 2.3.0 | 2,983 | 1015 day(s) ago |
| 2.2.1 | 1,019 | 1018 day(s) ago |
| 2.2.0 | 1,424 | 1071 day(s) ago |
| 2.2.0-beta2 | 231 | 1073 day(s) ago |
| 2.1.1 | 302 | 848 day(s) ago |
| 2.1.0 | 850 | 1116 day(s) ago |
| 2.1.0-beta2 | 422 | 1205 day(s) ago |
| 2.1.0-beta1 | 232 | 1278 day(s) ago |
| 2.0.6 | 53,074 | 1337 day(s) ago |
| 2.0.5 | 334 | 1340 day(s) ago |
| 2.0.4 | 317 | 1345 day(s) ago |
| 2.0.3 | 321 | 1352 day(s) ago |
| 2.0.3-beta1 | 232 | 1365 day(s) ago |
| 2.0.2 | 479 | 1389 day(s) ago |
| 2.0.1 | 418 | 1395 day(s) ago |
| 2.0.0 | 310 | 1396 day(s) ago |
| 1.6.1 | 324 | 1018 day(s) ago |
| 1.6.0 | 300 | 1023 day(s) ago |
| 1.5.1 | 477 | 1396 day(s) ago |
| 1.5.0-beta | 231 | 1396 day(s) ago |
**Phobos 2.x Maintenance Release**
**Bug Fixes**
- Fixed potential memory allocation issue in stash/unstash span events where `ToString()` was called on messages instead of using the type name.
**Improvements**
- Upgraded to [Akka.NET v1.5.59](https://github.com/akkadotnet/akka.net/releases/tag/1.5.59) and Akka.Hosting v1.5.59 for latest stability and performance improvements
Info
- last updated 3 hour(s) ago
- Project Site
- License Info
Statistics
- 243781 total downloads
- 0 downloads of current version
- 58.7 KB package size
Owners and Products
Petabridge
Authors
Petabridge
Copyright
Copyright © 2017-2026 Petabridge