Click or drag to resize

EPMetricsServiceSetMetricsReportingStmtEnabled Method

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.

Namespace:  com.espertech.esper.common.client.metric
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
void SetMetricsReportingStmtEnabled(
	string deploymentId,
	string statementName
)

Parameters

deploymentId
Type: SystemString
for which to enable metrics reporting
statementName
Type: SystemString
for which to enable metrics reporting
See Also