文件名称:cluster-advisor:聚合多个 cadvisor 端点
文件大小:3KB
文件格式:ZIP
更新时间:2024-06-19 17:30:14
JavaScript
集群顾问 聚合多个 cadvisor 端点 安装 $ npm install cluster-advisor 用法 var advisor = require ( 'cluster-advisor' ) // create a cluster from multiple cadvisor endpoints var cluster = advisor ( [ '192.168.8.120:8085' , '192.168.8.121:8085' , '192.168.8.122:8085' ] ) // load the stats which contains information about each machine cluster . stats ( function ( err , stats ) { // stats is an array each element
【文件预览】:
cluster-advisor-master
----index.js(2KB)
----test.js(1KB)
----package.json(670B)
----.gitignore(543B)
----README.md(2KB)