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

Phobos.Actor.Remote 1.4.2

Akka.Remote support for Phobos Enterprise framework.

Install-Package Phobos.Actor.Remote -Version 1.4.2
dotnet add package Phobos.Actor.Remote --version 1.4.2
<PackageReference Include="Phobos.Actor.Remote" Version="1.4.2"/>
paket add Phobos.Actor.Remote --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
2533
37 day(s) ago
3612
73 day(s) ago
1527
107 day(s) ago
591
141 day(s) ago
2242
148 day(s) ago
50
197 day(s) ago
3903
220 day(s) ago
8675
280 day(s) ago
442
283 day(s) ago
7220
338 day(s) ago
4338
364 day(s) ago
916
367 day(s) ago
3561
367 day(s) ago
40
372 day(s) ago
1817
420 day(s) ago
1
422 day(s) ago
938
465 day(s) ago
254
554 day(s) ago
141
627 day(s) ago
50899
686 day(s) ago
71
690 day(s) ago
38
694 day(s) ago
51
701 day(s) ago
12
714 day(s) ago
4185
738 day(s) ago
143
744 day(s) ago
17
745 day(s) ago
13472
745 day(s) ago
2
745 day(s) ago
436
770 day(s) ago
1
770 day(s) ago
12153
780 day(s) ago
453
814 day(s) ago
11
815 day(s) ago
1998
815 day(s) ago
98
821 day(s) ago
49
828 day(s) ago
6954
844 day(s) ago
440
857 day(s) ago
493
868 day(s) ago
7126
889 day(s) ago
1086
926 day(s) ago
701
928 day(s) ago
3245
961 day(s) ago
2314
982 day(s) ago
678
990 day(s) ago
1797
1044 day(s) ago
1451
1060 day(s) ago
242
1066 day(s) ago
3405
1086 day(s) ago
5795
1129 day(s) ago
11050
1187 day(s) ago
93
1191 day(s) ago
84
1191 day(s) ago
84
1191 day(s) ago
84
1191 day(s) ago
537
1221 day(s) ago
207
1236 day(s) ago
1605
1257 day(s) ago
850
1291 day(s) ago
1260
1304 day(s) ago
88
1304 day(s) ago

Info

Statistics

  • 178559 total downloads
  • 12153 downloads of current version

Owners and Products

Petabridge Petabridge

Authors

Petabridge

Copyright

Copyright © 2017-2021 Petabridge

Petabridge