Solution 1 https://github.com/DirectXMan12/k8s-prometheus-adapter
k8s-prometheus-adapter work in way that all available Prometheus metrics are collected and transformed into metrics which the HPA can scale on.
Solution: 3 https://github.com/zalando-incubator/kube-metrics-adapter