如何调用 prometheus api 接口获取CPU利用率和内存利用率

直接调用Prometheus接口就行