Class ActorMonitoring
ActorSystem extension designed to provide singleton access to the underlying monitoring system.
Implements
Inherited Members
Namespace: Phobos.Monitoring
Assembly: Phobos.Actor.dll
Syntax
public class ActorMonitoring : IExtension
Fields
ActorSystemContextName
Define the context for high-level Akka.NET metrics.
Declaration
public const string ActorSystemContextName = "Akka.NET"
Field Value
Type | Description |
---|---|
string |
NoMeter
Declaration
public static readonly Meter NoMeter
Field Value
Type | Description |
---|---|
Meter |
Properties
Monitor
The Meter instance used for recording metrics inside this ActorSystem
Declaration
public Meter Monitor { get; }
Property Value
Type | Description |
---|---|
Meter |
Methods
For(ActorSystem)
Gets an instance of the underlying ActorMonitoring unique to this ActorSystem.
Declaration
public static ActorMonitoring For(ActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ActorSystem | system | The actor system we want to use. |
Returns
Type | Description |
---|---|
ActorMonitoring | A singleton instance of the ActorMonitoring. |