Phobos
Enterprise Application Monitoring and Management for Akka.NET OSS
Published by Petabridge
  • last updated 6 day(s) ago
  • 1603 daily downloads
  • 1595803 total downloads
  • Latest version: 2.6.2

Phobos.Actor 2.6.1

Automatic Akka.NET tracing and monitoring integration as part of the Phobos Enterprise Framework.

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

Release Notes

Phobos 2.x Feature Release** Phobos 2.6.1 includes several new features and improvements aimed at making Phobos data even more useful for Akka.NET developers. Customize Actor Type Names** One major issue we resolved is [Actor type information and F# API](https://github.com/petabridge/phobos-issues/issues/80), where [Akkling](https://github.com/Horusiath/Akkling) users noticed that all of their F# actors all had identical names in Phobos's metrics and traces due to the way the F# type system works differently from C#. In 2.6.0, we've added a new attribute to Phobos - the `PhobosActorName` class attribute to address this; this does not address the original problem because F# uses behavior delegate and not class inheritance. In order to resolve this, we are removing the `PhobosActorName` class attribute and replacing it with a new `PhobosActorSettings.ActorTypeName` property which will allow you to tell Phobos to use a different name for this actor type OTHER than its given CLI type that can be applied directly to `Props.Deploy`. C# Sample: ```csharp public class MyActor : UntypedActor { // Implementation here } var actorSettings = new PhobosActorSettings(trace: true, monitor: true) .WithActorTypeName("Foo"); var actorRef = Sys.ActorOf(Props.Create<MyActor>() .WithInstrumentation(actorSettings)); ``` F# Sample: ```fsharp let propsWithInstrumentation (props: Props<'T>) (trace: bool, monitor: bool, actorTypeName: string) : Props<'T> = let settings = PhobosActorSettings(trace, monitor).WithActorTypeName(actorTypeName) let newDeploy = match props.Deploy with | Some value -> value.WithInstrumentation(settings) | None -> Deploy.Local.WithInstrumentation(settings) { props with Deploy = Some newDeploy } let behavior (m: Actor<_>) = let rec loop () = actor { let! msg = m.Receive() m.Sender() <! msg return! loop () } loop () let customActor = spawnAnonymous system (propsWithInstrumentation (props behavior) (true, true, "Foo")) ``` In [Phobos' automatically collected metrics](https://phobos.petabridge.com/articles/captured-data.html#metric-data), the `actortype` attribute will now use `Foo` instead of `Assembly.Namespace.MyActor` in C# or `FunActor` in F#. In [Phobos's automatically collected traces](https://phobos.petabridge.com/articles/captured-data.html#trace-data), the `akka.actor.type` attribute will now use `Foo` instead of `Assembly.Namespace.MyActor` in C# or `FunActor` in F#.

Dependencies

.NETCoreApp

.NETStandard

Versions

Version
Downloads
Last Updated
107
6 day(s) ago
131
13 day(s) ago
889
21 day(s) ago
30705
182 day(s) ago
734
192 day(s) ago
302
198 day(s) ago
14269
281 day(s) ago
7677
317 day(s) ago
2464
351 day(s) ago
591
385 day(s) ago
4774
392 day(s) ago
96
441 day(s) ago
6262
464 day(s) ago
11172
524 day(s) ago
360
527 day(s) ago
8316
582 day(s) ago
7953
608 day(s) ago
758
611 day(s) ago
4167
611 day(s) ago
44
616 day(s) ago
1830
664 day(s) ago
4
666 day(s) ago
1777
709 day(s) ago
257
798 day(s) ago
144
871 day(s) ago
64942
930 day(s) ago
77
934 day(s) ago
42
938 day(s) ago
55
945 day(s) ago
16
958 day(s) ago
4204
982 day(s) ago
148
988 day(s) ago
54
989 day(s) ago
13587
989 day(s) ago
7
989 day(s) ago
439
1014 day(s) ago
4
1014 day(s) ago
12300
1024 day(s) ago
456
1058 day(s) ago
15
1059 day(s) ago
2010
1059 day(s) ago
101
1065 day(s) ago
57
1072 day(s) ago
6955
1088 day(s) ago
444
1101 day(s) ago
499
1112 day(s) ago
7133
1133 day(s) ago
1173
1170 day(s) ago
709
1172 day(s) ago
3259
1205 day(s) ago
2319
1226 day(s) ago
683
1234 day(s) ago
1970
1288 day(s) ago
1455
1304 day(s) ago
248
1310 day(s) ago
3407
1330 day(s) ago
5798
1373 day(s) ago
11056
1431 day(s) ago
100
1435 day(s) ago
88
1435 day(s) ago
88
1435 day(s) ago
88
1435 day(s) ago
561
1465 day(s) ago
212
1480 day(s) ago
1609
1501 day(s) ago
844
1535 day(s) ago
1252
1548 day(s) ago
80
1548 day(s) ago

Info

Statistics

  • 256327 total downloads
  • 131 downloads of current version

Owners and Products

Petabridge Petabridge

Authors

Petabridge

Copyright

Copyright © 2017-2025 Petabridge

Petabridge