StatefulServiceLoadMetricDescription.SecondaryDefaultLoad Property

Definition

Gets or sets the default amount of load that this service creates for this metric when it is a Secondary replica.

public int SecondaryDefaultLoad { get; set; }
member this.SecondaryDefaultLoad : int with get, set
Public Property SecondaryDefaultLoad As Integer

Property Value

System.Int32

The default amount of load that this service creates for this metric when it is a Secondary replica.

Remarks

Specifying default load values for custom metrics enables the Service Fabric Cluster Resource Manager to efficiently place services when they are first created. If default load is not specified Service Fabric Cluster Resource Manager will assume zero load for this replica until the secondary replica of this service reports its load. ReportLoad(IEnumerable<LoadMetric>).

Applies to