-
Notifications
You must be signed in to change notification settings - Fork 102
Tools
stackedsax edited this page Dec 30, 2015
·
1 revision
If you want to dump metrics from Cassandra directly without going through the HTTP APIs, you would use this tool. This tool is written with operations in mind.
#!/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
If you want to manually kickoff rollup for a time range at all granularities, you can use the following tool.
#!/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.RollupTool -tenantId acFoo -metric met -from 50000 -to 60000