IceMX.Metrics

class IceMX.Metrics(id: str = '', total: int = 0, current: int = 0, totalLifetime: int = 0, failures: int = 0)

Bases: Value

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

Parameters:
id

The metrics identifier.

Type:

str

total

The total number of objects observed by this metrics. This includes the number of currently observed objects and the number of objects observed in the past.

Type:

int

current

The number of objects currently observed by this metrics.

Type:

int

totalLifetime

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

Type:

int

failures

The number of failures observed.

Type:

int

Notes

The Slice compiler generated this dataclass from Slice class ::IceMX::Metrics.

static ice_staticId() str

Obtain the type ID of this Slice class or interface.

Returns:

The type ID.

Return type:

str