IceMX.InvocationMetrics

class IceMX.InvocationMetrics(id: str = '', total: int = 0, current: int = 0, totalLifetime: int = 0, failures: int = 0, retry: int = 0, userException: int = 0, remotes: list[~IceMX.Metrics.Metrics | None] = <factory>, collocated: list[~IceMX.Metrics.Metrics | None] = <factory>)

Bases: Metrics

Provide measurements for proxy invocations. Proxy invocations can either be sent over the wire or be collocated.

Parameters:
retry

The number of retries for the invocations.

Type:

int

userException

The number of invocations that failed with a user exception.

Type:

int

remotes

The remote invocation metrics map.

Type:

list[Metrics | None]

collocated

The collocated invocation metrics map.

Type:

list[Metrics | None]

Notes

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

static ice_staticId() str

Obtain the type ID of this Slice class or interface.

Returns:

The type ID.

Return type:

str