您需要在 config.yaml
文件的 clusters
下添加您要监控的 Nebula Cluster 。
现在支持监控多个 Nebula Cluster 。
例如:
clusters: # 您想要监控的 cluster 列表
- name: nebula # cluster 的名称
instances: # cluster 中 instance 列表
- name: metad0 # instance 的名称
endpointIP: 192.168.10.131 # instance 的 ip
endpointPort: 19559 # instance 的端口
componentType: metad # instance 的组建类型, optional value metad, graphd and storaged.
- ...
详情请见 config.yaml 。
详情请见 样例 。