Add metrics function

This is for @nicolashery; it's a quick metrics function you can call from blip as long as you have a user token. Feel free to use / merge / modify at will.