The metrics class obtains data about a plugin and submits statistics about it to the metrics backend.
Public methods provided by this class:
Graph createGraph(String name); void addCustomData(Metrics.Plotter plotter); void start();
178179180181182183184185186187188189
/** * Sets up Metrics */ private void setupMetrics() { try { Metrics metrics = new Metrics(this); metrics.start(); } catch (IOException e) { e.printStackTrace(); } }