sysmonk::resources::stream

Function get_docker_stats

source
fn get_docker_stats() -> Result<Vec<Value>, Box<dyn Error>>
Expand description

Function to get docker stats via commandline.

ยงReturns

A Result containing a Vec of serde_json::Value if successful, otherwise an empty Vec.