Creates a linear GraphStage that captures (downstream) demand and (upstream) supply metrics.
Creates a linear GraphStage that captures (downstream) demand and (upstream) supply metrics.
the type of the elements flowing from upstream to downstream
A name to identify this instance's metric
The Actor system
a DemandSupplyMetricsStage that can be joined with a Flow with the corresponding type to capture demand/supply metrics.