pub fn create_stats_runtime(
port_name: &str,
pool: Arc<NDArrayPool>,
queue_size: usize,
ndarray_port: &str,
wiring: Arc<WiringRegistry>,
) -> (PluginRuntimeHandle, Arc<Mutex<StatsResult>>, NDStatsParams, PortRuntimeHandle, TSParams, JoinHandle<()>, JoinHandle<()>, JoinHandle<()>)Expand description
Create a stats plugin runtime with an integrated time series port.
Returns:
- Plugin runtime handle (for the stats plugin)
- Stats result accessor
- Stats params (for building stats registry)
- TS port runtime handle (for registering as a separate port)
- TS params (for building TS registry)
- Thread join handles (stats data, TS actor, TS data)