cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Are HPA configurations captured with out of the box metrics

ronmacdonald
Organizer

I'm looking to dashboard health and scalability of pods for app teams.  I'm having trouble finding HPA configurations such as minReplicas and maxReplicas.  If these are captured, what is the metric name?

5 REPLIES 5

Eric_Yu
Dynatrace Mentor
Dynatrace Mentor

Unfortunately, there's a limitation in that regard for HPA metrics in K8s.

Here's some insight regarding this topic.

Dynatrace University (min 34:00): Kubernetes Resiliency and Costs with Dynatrace | On Demand | Dynatrace University

YT Link: https://youtu.be/aR_UxXvIidM?si=DxKreJoaBjHIY65h&t=2058

Eric Yu | LATAM ACE Consultant

HPA metrics are available via the kubernetes object state api, see link below.  Per this documentation the min/max replicas is stable.  I'll create an RFE as this would be invaluable for quick glance scale.

https://github.com/kubernetes/kube-state-metrics/blob/main/docs/metrics/workload/horizontalpodautosc...

sergiofbsilva
Observer

Hi @Eric_Yu @ronmacdonald 

Will this be available in dynatrace anytime soon? We also need it, thanks 

 

florian_g
Dynatrace Mentor
Dynatrace Mentor

Hi - I can share some updates here. We are planning to support many more K8s objects going forward in Dynatrace: ConfigMaps, Secrets, CRDs, Ingress, Network Policies, ... and also HPA. With that, we also plan to allow you to directly view the yaml/json of these objects within Dynatrace or even analyse them using DQL (which unlocks some extremely powerful use-cases). We are currently planing to have this ready before the end of this year.

One does not simply run a container...

If we can help preview, please reach out.  Very interested in the features when they are released.

Featured Posts