Table of Contents

Interface IMetricsProvider

Namespace
NRules.Diagnostics
Assembly
NRules.dll

Provides access to performance metrics associated with individual nodes in the Rete network used to execute the rules.

public interface IMetricsProvider

Methods

FindByNodeId(int)

Retrieves performance metrics for a given Rete network node by the node id.

INodeMetrics FindByNodeId(int nodeId)

Parameters

nodeId int

Id of the node for which to retrieve the metrics.

Returns

INodeMetrics

Rete network node performance metrics or null.

GetAll()

Retries performance metrics for all nodes in the Rete network.

IEnumerable<INodeMetrics> GetAll()

Returns

IEnumerable<INodeMetrics>

Collection of Rete network node metrics.

Reset()

Resets cumulative performance metrics associated with all nodes in the network.

void Reset()