Show / Hide Table of Contents

Class EvaluatedMetric

One of the metrics that will be evaluated by profiles using this profile level.

Inheritance
object
EvaluatedMetric
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OptimizerService.Models
Assembly: OCI.DotNetSDK.Optimizer.dll
Syntax
public class EvaluatedMetric

Properties

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The name of the metric (e.g., CpuUtilization).

Remarks

Required

Statistic

Declaration
[Required(ErrorMessage = "Statistic is required.")]
[JsonProperty(PropertyName = "statistic")]
public string Statistic { get; set; }
Property Value
Type Description
string

The name of the statistic (e.g., p95).

Remarks

Required

Target

Declaration
[JsonProperty(PropertyName = "target")]
public double Target { get; set; }
Property Value
Type Description
double

Optional. The metric value that the recommendation will target.

Threshold

Declaration
[Required(ErrorMessage = "Threshold is required.")]
[JsonProperty(PropertyName = "threshold")]
public double Threshold { get; set; }
Property Value
Type Description
double

The threshold that must be crossed for the recommendation to appear.

Remarks

Required

In this article
Back to top