Hi, I am looking to deploy a server on k8s, but I need a way of accurately representing the current load on the instance so that I can scale up/down to meet usage. I have done some googling but nothing seems to actually go into the details of how to collect meaningful metrics and provide them to k8s.
As for rust framework, I can use whichever makes this side of things easier and adapt the project to match, since deployment is the most critical step.
If you have done this before, can you please share how you were able to do it? What metrics did you use, how did you collect them and use them etc.
Bonus would be if its a metric I can adjust the sensitivity of, to artificially simulate increase scaling pressure.
Thank you very much!!