rackerlabs/blueflood — pull request #114 by lakshmi-kannan (2013-10-23 00:56:17+00:00)
Title: Tool to dump metrics from db

You'd basically have to run this like this:

#!/bin/bash

/usr/bin/java \
-Dblueflood.config=file:blueflood.conf \
-Dlog4j.configuration=file:blueflood-log4j.properties \
-Xms1G \
-Xmx1G \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false \
-Djava.rmi.server.hostname=${IP} \
-Dcom.sun.management.jmxremote.port=9180 \
-classpath blueflood.jar com.rackspacecloud.blueflood.tools.ops.GetPoints -tenantId acFoo -metric met -from 50000 -to 60000 -resolution blah

Tested this locally using fake metrics.