The base class for metrics. A metrics object represents a collection of measurements associated to a given a system.
id — The metrics identifier.
total — The total number of objects that were observed by this metrics.
current — The current number of objects observed by this metrics.
totalLifetime — The sum of the lifetime of each observed objects.
failures — The number of failures observed.
The metrics identifier.
The total number of objects that were observed by this metrics.
The current number of objects observed by this metrics.
The sum of the lifetime of each observed objects. This does not include the lifetime of objects which are currently observed.
The number of failures observed.