Metrics
Capturing JVM and application-level metrics
...Each metric is associated with a MetricRegistry, and has a unique name within that registry. A gauge is the simplest metric type. It just returns a value. If, for example, your application has a value which is maintained by a third-party library, you can easily expose it by registering a Gauge instance which returns that value.