Phobos
Enterprise Application Monitoring and Management for Akka.NET OSS
Published by Petabridge
  • last updated 36 day(s) ago
  • 2501 daily downloads
  • 1170453 total downloads
  • Latest version: 2.5.1

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
2456
36 day(s) ago
3567
72 day(s) ago
1526
106 day(s) ago
590
141 day(s) ago
2240
148 day(s) ago
48
196 day(s) ago
4864
219 day(s) ago
8760
279 day(s) ago
380
282 day(s) ago
7289
337 day(s) ago
6117
363 day(s) ago
750
366 day(s) ago
3385
366 day(s) ago
36
371 day(s) ago
1827
420 day(s) ago
2
421 day(s) ago
1753
465 day(s) ago
256
553 day(s) ago
142
626 day(s) ago
56634
685 day(s) ago
72
689 day(s) ago
39
693 day(s) ago
53
700 day(s) ago
14
714 day(s) ago
4197
737 day(s) ago
144
743 day(s) ago
20
744 day(s) ago
13576
744 day(s) ago
4
744 day(s) ago
437
770 day(s) ago
2
770 day(s) ago
12289
779 day(s) ago
454
813 day(s) ago
13
814 day(s) ago
2008
814 day(s) ago
99
820 day(s) ago
54
827 day(s) ago
6957
843 day(s) ago
440
856 day(s) ago
493
868 day(s) ago
7133
889 day(s) ago
1166
925 day(s) ago
705
927 day(s) ago
3242
960 day(s) ago
2315
981 day(s) ago
679
989 day(s) ago
1799
1043 day(s) ago
1452
1059 day(s) ago
243
1065 day(s) ago
3401
1085 day(s) ago
5787
1129 day(s) ago
11050
1186 day(s) ago
94
1190 day(s) ago
87
1190 day(s) ago
36616
1190 day(s) ago
556
1220 day(s) ago
209
1235 day(s) ago
1608
1256 day(s) ago
852
1291 day(s) ago
1235
1303 day(s) ago
89
1303 day(s) ago

Info

Statistics

  • 224305 total downloads
  • 12289 downloads of current version

Owners and Products

Petabridge Petabridge

Authors

Petabridge

Copyright

Copyright © 2017-2021 Petabridge

Petabridge