Phobos.Hosting 2.10.4
Akka.Hosting prototype support for Phobos.
Install-Package Phobos.Hosting -Version 2.10.4
dotnet add package Phobos.Hosting --version 2.10.4
<PackageReference Include="Phobos.Hosting" Version="2.10.4" />
paket add Phobos.Hosting --version 2.10.4
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.4)
- Akka.Cluster.Hosting (>=1.5.57)
netstandard2.0
- Phobos.Actor.Cluster (>=2.10.4)
- Akka.Cluster.Hosting (>=1.5.57)
| Version | Downloads | Last Updated |
|---|---|---|
| 2.10.4 Current | 49 | 4 day(s) ago |
| 2.10.3 | 6 | 4 day(s) ago |
| 2.10.2 | 3,802 | 73 day(s) ago |
| 2.10.1 | 1,808 | 91 day(s) ago |
| 2.10.0 | 1,007 | 110 day(s) ago |
| 2.9.1 | 460 | 117 day(s) ago |
| 2.9.0 | 613 | 132 day(s) ago |
| 2.8.5 | 9,109 | 206 day(s) ago |
| 2.8.4 | 3,515 | 251 day(s) ago |
| 2.8.3 | 7,418 | 299 day(s) ago |
| 2.8.2 | 3,064 | 333 day(s) ago |
| 2.8.1 | 667 | 334 day(s) ago |
| 2.8.0 | 1,812 | 340 day(s) ago |
| 2.7.0 | 1,029 | 347 day(s) ago |
| 2.6.2 | 1,420 | 367 day(s) ago |
| 2.6.1 | 427 | 374 day(s) ago |
| 2.6.0 | 1,450 | 382 day(s) ago |
| 2.5.4 | 83,195 | 543 day(s) ago |
| 2.5.3 | 1,044 | 553 day(s) ago |
| 2.5.2 | 852 | 559 day(s) ago |
| 2.5.1 | 17,521 | 642 day(s) ago |
| 2.5.0 | 5,956 | 678 day(s) ago |
| 2.4.5 | 2,364 | 712 day(s) ago |
| 2.4.4 | 561 | 746 day(s) ago |
| 2.4.3 | 1,050 | 753 day(s) ago |
| 2.4.2 | 1,445 | 825 day(s) ago |
| 2.4.1 | 7,564 | 885 day(s) ago |
| 2.4.0 | 605 | 888 day(s) ago |
| 2.3.1 | 6,289 | 943 day(s) ago |
| 2.3.0 | 2,940 | 969 day(s) ago |
| 2.2.1 | 975 | 972 day(s) ago |
| 2.2.0 | 1,381 | 1025 day(s) ago |
| 2.2.0-beta2 | 188 | 1027 day(s) ago |
| 2.1.1 | 259 | 802 day(s) ago |
| 2.1.0 | 807 | 1070 day(s) ago |
| 2.1.0-beta2 | 379 | 1159 day(s) ago |
| 2.1.0-beta1 | 189 | 1232 day(s) ago |
| 2.0.6 | 53,030 | 1291 day(s) ago |
| 2.0.5 | 291 | 1295 day(s) ago |
| 2.0.4 | 274 | 1299 day(s) ago |
| 2.0.3 | 278 | 1306 day(s) ago |
| 2.0.3-beta1 | 189 | 1319 day(s) ago |
| 2.0.2 | 436 | 1343 day(s) ago |
| 2.0.1 | 375 | 1349 day(s) ago |
| 2.0.0 | 266 | 1350 day(s) ago |
| 1.6.1 | 281 | 972 day(s) ago |
| 1.6.0 | 257 | 977 day(s) ago |
| 1.5.1 | 431 | 1350 day(s) ago |
| 1.5.0-beta | 188 | 1350 day(s) ago |
**Phobos 2.x Maintenance Release**
**Improvements**
- Upgraded to [Akka.NET v1.5.57](https://github.com/akkadotnet/akka.net/releases/tag/1.5.57) for latest stability and performance improvements
Info
- last updated 4 day(s) ago
- Project Site
- License Info
Statistics
- 229516 total downloads
- 49 downloads of current version
- 58.6 KB package size
Owners and Products
Petabridge
Authors
Petabridge
Copyright
Copyright © 2017-2025 Petabridge