# IceMX::Metrics

## Overview

### class Metrics

The base class for metrics. A metrics object represents a collection of measurements associated to a given a system.

#### Derived Classes and Interfaces

ConnectionMetrics
DispatchMetrics
InvocationMetrics
RemoteMetrics
SessionMetrics
SubscriberMetrics
ThreadMetrics
TopicMetrics

#### Used By

MetricsMap

## Data Member Index

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.

## Data Members

### string id;

The metrics identifier.

### long total;

The total number of objects that were observed by this metrics.

### int current;

The current number of objects observed by this metrics.

### long totalLifetime;

The sum of the lifetime of each observed objects. This does not include the lifetime of objects which are currently observed.

### int failures;

The number of failures observed.