Hello Rancher Team,
I would like to build custom metrics for Rancher, with the data sourced from the Rancher API. My goal is to have the metrics I create match the statistics shown in the Rancher UI. Could you please explain how the calculations are done to obtain cluster-level and node-level statistics? I would greatly appreciate it if you could also share which API endpoints are used for this.