Each counter has a type that determines its data sampling method. Counters are of four different sampling types:
Maximum-value counters – keep only the largest value sampled.
Average-value counters – keep the total of all values sampled and the number of items sampled.
Last-value counters – keep the last value of sampled data.
Cumulative-total counters – keep running total of sampled data.