什么是Nebula Dashboard 安装详细步骤教程
Nebula Dashboard
正文核心介绍:什么是Nebula及Dashboard的相关话题,如有不对的地方欢迎指正!
Nebula Dashboard 是一款用于监控 Nebula Graph 集群中机器和服务状态的可视化工具。
- 监控集群中所有机器的状态,包括 CPU、内存、负载、磁盘和流量。
- 监控集群中所有服务的信息,包括服务 IP 地址、版本和监控指标(例如查询数量、查询延迟、心跳延迟等)。
- 监控集群本身的信息,包括集群的服务信息、分区信息、配置和长时任务。
Nebula Dashboard 由以下 5 种服务组成,通过 [这个地址] (https://oss-cdn.nebula–graph.com.cn/nebula-graph-dashboard/1.0.1/nebula-graph-dashboard-1.0.1.x86_64.tar.gz) 下载压缩包并解压后可以在目录 nebula-graph-dashboard
看到 5 个子目录,分别对应 5 个服务的目录。除了 node-exporter 服务需要在 3 台服务器上都部署,其余服务只需要在 ydt-net-nebula1 上部署。

部署 node-exporter 服务
在目录node-exporter
内执行如下命令启动服务:
nohup ./node-exporter --web.listen-address=":9100" &
部署 nebula-stats-exporter 服务
在目录nebula-stats-exporter
内修改文件config.yaml
,配置所有服务的 HTTP 端口。
version: v0.0.2
nebulaItems:
- instanceName: metad0
endpointIP: 11.8.38.149
endpointPort: 9559
componentType: metad
- instanceName: metad1
endpointIP: 11.8.38.150
endpointPort: 9559
componentType: metad
- instanceName: metad2
endpointIP: 11.8.38.151
endpointPort: 9559
componentType: metad
- instanceName: graphd0
endpointIP: 11.8.38.149
endpointPort: 9669
componentType: graphd
- instanceName: graphd1
endpointIP: 11.8.38.150
endpointPort: 9669
componentType: graphd
- instanceName: graphd2
endpointIP: 11.8.38.151
endpointPort: 9669
componentType: graphd
- instanceName: storaged0
endpointIP: 11.8.38.149
endpointPort: 9779
componentType: storaged
- instanceName: storaged1
endpointIP: 11.8.38.150
endpointPort: 9779
componentType: storaged
- instanceName: storaged2
endpointIP: 11.8.38.151
endpointPort: 9779
componentType: storaged
执行如下命令启动服务:
nohup ./nebula-stats-exporter --listen-address=":9200" --bare-metal --bare-metal-config=./config.yaml &
部署 prometheus 服务
在目录prometheus
内修改文件prometheus.yaml
,配置node-exporter
服务和nebula-stats-exporter
服务的 IP 地址和端口。
global:
scrape_interval: 5s # 收集监控数据的间隔时间。默认为1分钟。
evaluation_interval: 5s # 告警规则扫描时间间隔。默认为1分钟。
scrape_configs:
- job_name: 'node-exporter'
static_configs:
- targets: [
'11.8.38.149:9100', # node-exporter 服务的 IP 地址和端口。
'11.8.38.150:9100',
'11.8.38.151:9100'
]
- job_name: 'nebula-stats-exporter'
static_configs:
- targets: [
'11.8.38.149:9200', # nebula-stats-exporter 服务的 IP 地址和端口。
]
相关阅读
-
国外产品设计网站有哪些 国外家具设计网站推荐
跟大家分享国外产品设计网站有哪些和国外家具设计网站推荐的介绍,下面小编为您详细解答 hello,这里是 同捉 作为设计师,工作之余就是想收集多一些 优质、高格逼 的设计网站,但是单靠
-
OSPF被动接口的工作原理 OSPF被动接口的运行机制
小编为你讲解OSPF被动接口的工作原理的相关知识,一起来了解了解吧。 当一个接口被配置为OSPF,并且OSPF进程启动后,该接口默认处于主动状态。 在主动状态下,接口会周期性地发送Hello消息
-
SQL Server数据库升级详细步骤教程
正文核心导读:IT技巧方面的经验,接下来IT袋网小编就来介绍。 对于.NET系的老铁们,相信对 SQL Server 数据库已经很熟悉了。我们平时可能干的最多工作就是CURD了,但有的时候我们也需要对数
-
Oracle服务大全:解析Oracle数据库的关键组件
一篇IT技术小知识,为您介绍Oracle服务大全的相关经验,如有不对的地方欢迎指正! 一、Oracle数据库服务的基本概念 Oracle数据库是一款功能强大的关系数据库管理系统,它提供了一系列服务来


