StatefulServiceLoadMetricDescription.PrimaryDefaultLoad Property

Definition

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

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

Property Value

System.Int32

The default amount of load that this service creates for this metric when it is a Primary 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 primary replica of this service reports its load. ReportLoad(IEnumerable<LoadMetric>).

Applies to