PartitionLoadInformation Class

Represents load information for a partition, which contains the primary, secondary and auxiliary reported load metrics. In case there is no load reported, PartitionLoadInformation will contain the default load for the service of the partition. For default loads, LoadMetricReport's LastReportedUtc is set to 0.

Inheritance
PartitionLoadInformation

Constructor

PartitionLoadInformation(*, partition_id: Optional[str] = None, primary_load_metric_reports=None, secondary_load_metric_reports=None, auxiliary_load_metric_reports=None, **kwargs)

Parameters

partition_id
str
Required

Id of the partition.

primary_load_metric_reports
list[LoadMetricReport]
Required

Array of load reports from the primary replica for this partition.

secondary_load_metric_reports
list[LoadMetricReport]
Required

Array of aggregated load reports from all secondary replicas for this partition. Array only contains the latest reported load for each metric.

auxiliary_load_metric_reports
list[LoadMetricReport]
Required

Array of aggregated load reports from all auxiliary replicas for this partition. Array only contains the latest reported load for each metric.