App Metrics includes various types of metrics, each providing their own usefulness depending on the measurement being tracked. A great presentation can be found here which explains the fundamentals well.
The following metrics types are supported:
|Apdex||By definition, an Application Performance Index is an open industry standard that estimates end-user satisfaction. Apdex is provided as a metric type in App Metrics allowing us to not only estimate end-user satisfaction on a web application for example, but also allowing us to easily define SLA’s on parts of our applications.|
|Counter||Counters are one of the simpliest metrics types supported and allow us to track how many times something has happened, for example the number of successful user logins. They are an atomic 64-bit integer which can be incremented or decremented.|
|Gauge||A Gauge is simply an action that returns the instantaneous measure of a value, where the value arbitrarily increases and decreases, for example CPU usage.|
|Histogram||Histograms measure the statistical distribution of a set of values including the min, max, mean, median, standard deviation and quantiles, for example HTTP POST and PUT request sizes.|
|Meter||Meter measures the rate at which an event occurs along with a total count of the occurrences, for example tracking the rate at which clients are requesting a particular HTTP resource.|
|Timer||A Timer is a combination of a Histogram and a Meter allowing us to measure the duration of a type of event, the rate of its occurrence and provide duration statistics, for example tracking the time it takes to execute a particular SQL query or HTTP request.|
Once familar with the metric types available and what they have to offer, see the getting started guide on how to instrumenting your application.