Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ObjectMetricSourceV2

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Represents a source for a metric that is associated with a specific Kubernetes object.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ObjectMetricSourceV2
{
// ...
}
This class is part of the Kubernetes metrics API and defines a metric for a target object. It specifies the metric to be observed, the Kubernetes resource (object) being described, and the target value or configuration for that metric. The ObjectMetricSourceV2 is typically used for workloads or resources where metrics are tied to a specific Kubernetes object.
View all constructors
View all properties