The Datadog Cluster Agent enables autoscaling of Kubernetes applications in response to real-time fluctuations in any metric collected by Datadog. With the release of version 1.10, support for external metrics was introduced, allowing users to autoscale off of any metric from outside the cluster. The Datadog Cluster Agent has made it possible to autoscale Kubernetes workloads based on custom-built metric queries, giving users increased flexibility for certain use cases. To enable high availability for Horizontal Pod Autoscaling (HPA), the Datadog Cluster Agent allows users to fetch metrics from multiple regions and automatically failover if one of the endpoints is degraded, based on availability and latency.