We use statsd to gather application metrics.
We use netcat to echo commands into the statd port listening on localhost.
For example to display all the 'gauges', run:
echo 'gauges' | nc localhost 8126
The output depends on flush interval, so you have to try multiple times to get all metrics.
You can also try 'counters'.