Phobos
Phobos
Enterprise Application Monitoring and Management for Akka.NET OSS
Published by Petabridge
  • last updated 10 day(s) ago
  • 3502 daily downloads
  • 560205 total downloads
  • Latest version: 2.1.0-beta2

Phobos.Monitoring 1.4.2

High-performance monitoring and instrumentation library for .NET and .NET Core applications.

Install-Package Phobos.Monitoring -Version 1.4.2
dotnet add package Phobos.Monitoring --version 1.4.2
<PackageReference Include="Phobos.Monitoring" Version="1.4.2"/>
paket add Phobos.Monitoring --version 1.4.2

Release Notes

Maintenance Release for Phobos 1.4** Resolved: [OpenTracing: Tracing breaks when using `Ask().PipeTo()`](https://github.com/petabridge/phobos-issues/issues/44) To have tracing in Phobos 1.4 work with `PipeTo()`, you will have to use `PipeTo(recipient, true)` and call the `Ask()` method inside an `async` method even when the `Ask()` method is not `await`ed. ```c# private class PipeToActor: ReceiveActor { public PipeToActor(bool useAsync, IActorRef otherActor) { ReceiveAsync<int>(o => { // Need to make sure that async context is preserved inside PipeTo otherActor.Ask("message").PipeTo(Self, true, Sender); return Task.CompletedTask; }); } } ``` The boolean parameter in the `PipeTo(IActorRef, true, IActorRef)` method sets `ConfigureAwait(true)` inside the `PipeTo()` operation - and this allows us to preserve the current `AsyncLocal<ISpan>` context. The `ReceiveAsync` method is also needed for proper async context propagation, which is what's needed in order to ensure that the `ISpan` created by the `PipeTo` method is properly correlated to the one created by the `Ask` method.

Dependencies

.NETStandard

Versions

Version
Downloads
Last Updated
146
10 day(s) ago
255
98 day(s) ago
141
172 day(s) ago
13843
230 day(s) ago
69
234 day(s) ago
36
238 day(s) ago
51
245 day(s) ago
13
259 day(s) ago
2285
282 day(s) ago
141
288 day(s) ago
15
289 day(s) ago
9043
289 day(s) ago
2
289 day(s) ago
436
315 day(s) ago
1
315 day(s) ago
5684
324 day(s) ago
453
359 day(s) ago
12
359 day(s) ago
1989
359 day(s) ago
98
365 day(s) ago
51
372 day(s) ago
6925
388 day(s) ago
438
401 day(s) ago
413
413 day(s) ago
7116
434 day(s) ago
1164
470 day(s) ago
703
472 day(s) ago
3234
505 day(s) ago
2265
527 day(s) ago
677
534 day(s) ago
1395
588 day(s) ago
1448
604 day(s) ago
241
610 day(s) ago
3399
630 day(s) ago
5782
674 day(s) ago
11021
731 day(s) ago
91
735 day(s) ago
84
735 day(s) ago
24083
735 day(s) ago
554
765 day(s) ago
207
780 day(s) ago
1606
801 day(s) ago
850
836 day(s) ago
1233
848 day(s) ago
87
848 day(s) ago

Info

Statistics

  • 109780 total downloads
  • 5684 downloads of current version

Owners and Products

Petabridge Petabridge

Authors

Petabridge

Copyright

Copyright © 2017-2021 Petabridge

Petabridge