LoadMetric Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the name of a metric and a runtime value as a name-value pair that is reported to Service Fabric. The metric loads are used by Service Fabric to ensure that the cluster is evenly used and that nodes do not exceed their capacities for given metrics. LoadMetric reports are provided to Service Fabric via ReportLoad(IEnumerable<LoadMetric>).
[System.Serializable]
public sealed class LoadMetric
[<System.Serializable>]
type LoadMetric = class
Public NotInheritable Class LoadMetric
- Inheritance
-
LoadMetric
- Attributes
Constructors
LoadMetric(String, Int32) |
Creates and initializes a LoadMetric object with the specified name and load value. |
Properties
Name |
Indicates the name of the metric that the service plans to report. |
Value |
Indicates the current load of the metric. |
Applies to
Azure SDK for .NET