Obtain metrics from running rust app, similarly to jmx in java or gmx for golang