k8s-prom-hpa icon indicating copy to clipboard operation
k8s-prom-hpa copied to clipboard

Custom metrics improvement

Open surendrababuravella opened this issue 6 years ago • 0 comments

Hi Stefan,

First of thank you for providing custom metrics dependencies which is working fine for us. But we need to enrich small code into this to use.

currently this custom metrics image is fetching metric value from prometheus and responding back to HPA for autoscaling.

But we want to add irate function to prometheus metrics to fetch tps directly from prometheus like below.

sum(irate(<>[1m]))

So can you please guide us in this.

Thanks, Surendra

surendrababuravella avatar May 10 '18 08:05 surendrababuravella