track

Used inline with the NodeBuilder DSL system.

Tracks the immediately upstream node by applying the metricFactory to the node.

Read more here.

Parameters

metricFactory

The MetricFactory to associate with the node.

Throws

if the node preceding this does not support the given metric