Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ExternalMetricSourceV2

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Represents an external metric source in Kubernetes for configuring autoscaling behavior based on metrics from external components or monitoring systems.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ExternalMetricSourceV2
{
// ...
}
This class defines the external metric to be monitored and the specific target value associated with it. The `metric` property identifies the external metric by name and optional label selectors. The `target` property provides the desired value, average value, or utilization percentage for the metric, as part of the autoscaling configuration.
View all constructors
View all properties