Class MetricsConfigBuilder
Used to configure the metrics records used for Phobos.Monitoring
Inheritance
System.Object
MetricsConfigBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phobos.Actor.Configuration
Assembly: Phobos.Actor.dll
Syntax
public sealed class MetricsConfigBuilder
Methods
DisableAllMetrics()
Totally disables all metrics collection. Can be overridden if there are subsequent calls to SetMonitorUserActors(Boolean) or SetMonitorSystemActors(Boolean) - so make this is the final call on the builder.
Declaration
public MetricsConfigBuilder DisableAllMetrics()
Returns
Type | Description |
---|---|
MetricsConfigBuilder |
SetMonitorEventStream(Boolean)
Declaration
public MetricsConfigBuilder SetMonitorEventStream(bool toggle)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | toggle |
Returns
Type | Description |
---|---|
MetricsConfigBuilder |
SetMonitorMailboxDepth(Boolean)
Declaration
public MetricsConfigBuilder SetMonitorMailboxDepth(bool toggle)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | toggle |
Returns
Type | Description |
---|---|
MetricsConfigBuilder |
SetMonitorSystemActors(Boolean)
Declaration
public MetricsConfigBuilder SetMonitorSystemActors(bool toggle)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | toggle |
Returns
Type | Description |
---|---|
MetricsConfigBuilder |
SetMonitorUserActors(Boolean)
Declaration
public MetricsConfigBuilder SetMonitorUserActors(bool toggle)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | toggle |
Returns
Type | Description |
---|---|
MetricsConfigBuilder |