org.usergrid.tools
Class Metrics
java.lang.Object
org.usergrid.tools.ToolBase
org.usergrid.tools.ExportingToolBase
org.usergrid.tools.Metrics
public class Metrics
- extends ExportingToolBase
Tools class which dumps metrics for tracking Usergrid developer adoption
and high-level application usage.
Can be called thusly:
mvn exec:java -Dexec.mainClass="org.usergrid.tools.Command" -Dexec.args="Metrics -host localhost -outputDir ./output"
- Author:
- zznate
Method Summary |
org.apache.commons.cli.Options |
createOptions()
|
void |
runTool(org.apache.commons.cli.CommandLine line)
|
Methods inherited from class org.usergrid.tools.ExportingToolBase |
applyOrgId, createCollectionsDir, createDir, createDir, createOutputFile, createOutputFile, createOutputParentDir, getJsonGenerator, getJsonGenerator, prepareBaseOutputFileName, prepareOutputFileName, writeOutput |
Methods inherited from class org.usergrid.tools.ToolBase |
getToolName, printCliHelp, setCassandraService, setEntityManagerFactory, setManagementService, setProperties, setServiceManagerFactory, setupCassandra, startEmbedded, startSpring, startTool, teardownEmbedded |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Metrics
public Metrics()
runTool
public void runTool(org.apache.commons.cli.CommandLine line)
throws Exception
- Specified by:
runTool
in class ToolBase
- Throws:
Exception
createOptions
public org.apache.commons.cli.Options createOptions()
- Overrides:
createOptions
in class ExportingToolBase
Copyright © 2012. All Rights Reserved.