Click or drag to resize

EPMetricsService Interface

Service for metrics reporting.

Namespace:  com.espertech.esper.common.client.metric
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
public interface EPMetricsService

The EPMetricsService type exposes the following members.

Methods
  NameDescription
Public methodSetMetricsReportingDisabled
Disable runtime-level metrics reporting.

Use this operation to control, at runtime, metrics reporting globally. Setting metrics reporting to disabled removes all performance cost for metrics reporting.

Public methodSetMetricsReportingEnabled
Enable runtime-level metrics reporting.

Use this operation to control, at runtime, metrics reporting globally.

Only if metrics reporting (on the runtimelevel) has been enabled at initialization time can metrics reporting be re-enabled at runtime through this method.

Public methodSetMetricsReportingInterval
Sets a new interval for metrics reporting for a pre-configured statement group, or changes the default statement reporting interval if supplying a null value for the statement group name.
Public methodSetMetricsReportingStmtDisabled
Disable metrics reporting for a given statement.
Public methodSetMetricsReportingStmtEnabled
Enable metrics reporting for the given statement.

This operation can only be performed at runtime and is not available at runtime initialization time.

Statement metric reporting follows the configured default or statement group interval.

Only if metrics reporting (on the runtimelevel) has been enabled at initialization time can statement-level metrics reporting be enabled through this method.

Top
See Also