track
context(scenarioScope: ScenarioBuilderScope)
fun <BuilderT : RegularNodeBuilder<NodeT, *, *>, NodeT : NodeGroup> BuilderT.track(metricFactory: MetricFactory<NodeT>): BuilderT
fun <BuilderT : RegularNodeBuilder<NodeT, *, *>, NodeT : NodeGroup> BuilderT.track(metricFactory: MetricFactory<NodeT>): BuilderT
Used inline with the NodeBuilder DSL system.
Tracks the immediately upstream node by applying the metricFactory to the node.
Parameters
metricFactory
The MetricFactory to associate with the node.
Throws
if the node preceding this does not support the given metric