add metrics support - graphit, stathat, commandline