我正在尝试将普罗米修斯集成到我的项目中,但是在const Prometheus = require('prom-client')
上遇到编译问题
它抱怨:
Failed to compile.
./node_modules/prom-client/lib/cluster.js
Module not found: Can't resolve 'cluster' in '/Users/mkumar/Documents/development/workspace/platform-ui/node_modules/prom-client/lib'