ObjectMetricSourceV2.Metric Property
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 metric details associated with an ObjectMetricSourceV2 instance.
[YamlDotNet.Serialization.YamlMember(Alias="metric")]
public Aspire.Hosting.Kubernetes.Resources.MetricIdentifierV2 Metric { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="metric")>]
member this.Metric : Aspire.Hosting.Kubernetes.Resources.MetricIdentifierV2 with get, set
Public Property Metric As MetricIdentifierV2
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
This property specifies the metric identifier, which includes the metric's name and an optional selector used for filtering or targeting specific metric instances. It provides the necessary data to link and describe metrics in relation to a Kubernetes resource.