Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed metrics population

  • Loading branch information...
commit e345ee6cdf9ce7b2a858c32706dbfbac6f667eaa 1 parent b4fec19
@jplock authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/main/java/com/urbanairship/octobot/Metrics.java
View
5 src/main/java/com/urbanairship/octobot/Metrics.java
@@ -5,14 +5,11 @@
import com.yammer.metrics.core.MetricsRegistry;
import com.yammer.metrics.core.Timer;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.LinkedList;
import java.util.concurrent.TimeUnit;
public class Metrics {
- protected static final MetricsRegistry registry = new MetricsRegistry();
+ protected static final MetricsRegistry registry = com.yammer.metrics.Metrics.defaultRegistry();
// Updates internal metrics following task execution.
public static void update(String task, long time, boolean status, int retries) {
Please sign in to comment.
Something went wrong with that request. Please try again.