Class MonitoringSettings
Used to define all of the settings used for monitoring.
Inheritance
MonitoringSettings
Assembly: Phobos.Actor.dll
Syntax
public sealed class MonitoringSettings
Constructors
MonitoringSettings(Config)
Declaration
public MonitoringSettings(Config config)
Parameters
Type |
Name |
Description |
Config |
config |
The phobos.monitoring section of a HOCON configuration.
|
MonitoringSettings(bool, bool, bool, bool)
Declaration
public MonitoringSettings(bool monitorAllUserActors, bool monitorAllSystemActors = false, bool monitorMailboxDepth = false, bool monitorEventStream = true)
Parameters
Type |
Name |
Description |
bool |
monitorAllUserActors |
|
bool |
monitorAllSystemActors |
|
bool |
monitorMailboxDepth |
|
bool |
monitorEventStream |
|
Properties
MonitorAllSystemActors
When true
, all /system actors will be monitored automatically.
Declaration
public bool MonitorAllSystemActors { get; }
Property Value
MonitorAllUserActors
When true
, all /user actors will be monitored automatically.
Declaration
public bool MonitorAllUserActors { get; }
Property Value
MonitorEventStream
When true
, allows Phobos to monitor the default messages that are published
on the EventStream, such as log events and deadletters.
Declaration
public bool MonitorEventStream { get; }
Property Value
MonitorMailboxDepth
When true
, enables monitoring of the mailboxes of all actors who
have monitoring enabled.
Declaration
public bool MonitorMailboxDepth { get; }
Property Value
Methods
WithMonitorEventStream(bool)
Declaration
public MonitoringSettings WithMonitorEventStream(bool monitorEventStream)
Parameters
Type |
Name |
Description |
bool |
monitorEventStream |
|
Returns
WithMonitorMailboxDepth(bool)
Declaration
public MonitoringSettings WithMonitorMailboxDepth(bool monitorMailboxDepth)
Parameters
Type |
Name |
Description |
bool |
monitorMailboxDepth |
|
Returns
WithMonitorSystemActors(bool)
Declaration
public MonitoringSettings WithMonitorSystemActors(bool monitorSystemActors)
Parameters
Type |
Name |
Description |
bool |
monitorSystemActors |
|
Returns
WithMonitorUserActors(bool)
Declaration
public MonitoringSettings WithMonitorUserActors(bool monitorUserActors)
Parameters
Type |
Name |
Description |
bool |
monitorUserActors |
|
Returns