pub fn run(args: Args) -> Result<()>
Run the metrics command.
Returns an error if metrics export fails.