HorizontalPodAutoscaling based on Response time (custom metric) using Prometheus Adapter? Also, what is the name of metric for response time in prometheus-adapter?

Cluster information:

Kubernetes version:1.15
Cloud being used: bare-metal
Installation method: kubeadm
Host OS: ubuntu 16.04
CNI and version: Flannel
CRI and version: Docker

I have already performed horizontalPodAutoscaling based on the built mechanism (cpu utilization and memory).

And now i want to perform autoscaling based on the response time (custom metric) but i can’t find any of the metric with the name response time in the prometheus metrics list.

If the metric for response time is available then what is it’s name?

This give you the information you need.

This walkthrough will go over the basics of setting up the Prometheus adapter on your cluster and configuring an autoscaler to use application metrics sourced from the adapter.

https://prometheus.io/docs/concepts/metric_types/