Show / Hide Table of Contents

Class MetricsConfigBuilder

Used to configure the metrics records used for Phobos.Monitoring

Inheritance
object
MetricsConfigBuilder
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
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(bool) or SetMonitorSystemActors(bool) - so make this is the final call on the builder.

Declaration
public MetricsConfigBuilder DisableAllMetrics()
Returns
Type Description
MetricsConfigBuilder

SetMonitorEventStream(bool)

Declaration
public MetricsConfigBuilder SetMonitorEventStream(bool toggle)
Parameters
Type Name Description
bool toggle
Returns
Type Description
MetricsConfigBuilder

SetMonitorMailboxDepth(bool)

Declaration
public MetricsConfigBuilder SetMonitorMailboxDepth(bool toggle)
Parameters
Type Name Description
bool toggle
Returns
Type Description
MetricsConfigBuilder

SetMonitorSystemActors(bool)

Declaration
public MetricsConfigBuilder SetMonitorSystemActors(bool toggle)
Parameters
Type Name Description
bool toggle
Returns
Type Description
MetricsConfigBuilder

SetMonitorUserActors(bool)

Declaration
public MetricsConfigBuilder SetMonitorUserActors(bool toggle)
Parameters
Type Name Description
bool toggle
Returns
Type Description
MetricsConfigBuilder
In this article

Phobos®

APM for Akka.NET Applications

© 2025 Petabridge®

All rights reserved

Product
  • Purchase Phobos
  • Contact Sales
  • Phobos Quick Start Guide
  • Phobos Features
  • API Documentation
  • Release Notes
Resources
  • Akka.NET Documentation
  • Petabridge Blog
  • Akka.NET Support Plans
  • Akka.NET Consulting Services
  • Akka.NET Training
Connect
  • Petabridge Website
  • GitHub
  • Twitter
  • LinkedIn
  • YouTube
  • Contact Us
Privacy Policy
Built with ♥ by Petabridge