commit c34fc66364e516bb17da01cf1731b496be4b48c6 Author: Vladimir Kostyukov Date: Wed May 18 19:51:46 2016 +0000 source: No need for jsr166e. Java 8 has everything is needed. Problem / Solution We no longer need our own clone of JSR166e given that we're now on Java 8. RB_ID=833652 TBR=true science/src/java/com/twitter/common/metrics/Metrics.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 94e0ab496ca068fae5bc85969b95a62af4513a8c Author: Vladimir Kostyukov Date: Sat Oct 3 00:59:06 2015 +0000 abstract-app: Stats-compatible JVM metrics Problem Commons Metrics uses slightly different format for JVM metrics than Commons Stats. That's why a workaround (when two Guice modules `StatsModule` and `MetricsModule` are enabled in the app) should be applied to all services migrating to Commons Metrics. Solution Support Stats-compatible format for JVM-metrics exported via Commons Metrics. Result `AbstractApplicaiton` users can export all the stats via only single library - Commons Metrics using the format of their choice (see `-metrics_format` flag). RB_ID=749000 science/src/java/com/twitter/common/metrics/JvmStats.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 519867b0f87e0b0f91d6046fa140e05e02c6350b Author: Kevin Oliver Date: Fri Sep 4 00:59:57 2015 +0000 finagle-stats: Handle misbehaving Gauges Motivation Evaluating a user's code for a `Gauge` can throw exceptions which then destroys the entire response. Solution Capture the exceptions both in the underlying commons-metrics code on a per Gauge basis as well as in finagle-stats code on an aggregate basis. Result A single misbehaving Gauge will no longer wreck the entire response. RB_ID=738643 science/src/java/com/twitter/common/metrics/Metrics.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)