A counter is just a gauge for an Long instance and you can increment its value.
A gauge is an instantaneous measurement of a value.
A gauge is an instantaneous measurement of a value. For example, we may want to track the number of pending jobs at a certain time in a queue.
A histogram measures the statistical distribution of values in a stream of data.
A histogram measures the statistical distribution of values in a stream of data. In addition to minimum, maximum, mean, etc., it also measures median, 75th, 90th, 95th, 98th, 99th, and 99.9th percentiles.
Builds and registers a reporter for a Registry
Builds and registers metrics.
A timer measures both the rate that a particular piece of code is called and the distribution of its duration.
A counter is just a gauge for an Long instance and you can increment its value. For example, we may want a more efficient way of measuring the pending jobs in a queue.