diff --git a/DEPLOY.md b/DEPLOY.md index f452875a..32ea1ebc 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -29,7 +29,7 @@ Attention: the file under these packages is compiled under Linux environment, ca - Start: ```bash ## node-exporter should run in - $ cd node-exporter + $ cd /nebula-dashboard/vendors/node-exporter $ nohup ./node-exporter --web.listen-address=":9100" & ``` Service address: http://127.0.0.1:9100 @@ -40,7 +40,7 @@ Attention: the file under these packages is compiled under Linux environment, ca - dependency: modify :`config.yml` according to nebula graph service address Start: ```bash - $ cd nebula-stats-exporter + $ cd /nebula-dashboard/vendors/nebula-stats-exporter $ nohup ./nebula-stats-exporter --listen-address=":9200" --bare-metal --bare-metal-config=./config.yaml & ``` Service address: http://127.0.0.1:9200 @@ -51,7 +51,7 @@ Attention: the file under these packages is compiled under Linux environment, ca - dependency:modify :`./vendors/prometheus/prometheus.yaml` according to node-exporter and nebula-stats-exporter service address - Start: ```bash - $ cd prometheus + $ cd /nebula-dashboard/vendors/prometheus $ nohup ./prometheus --config.file=./prometheus.yaml & ``` Service address: http://127.0.0.1:9090 @@ -61,7 +61,7 @@ Attention: the file under these packages is compiled under Linux environment, ca - location:in the same machine with nebula-graph-dashboard - Start: ```bash - $ cd nebula-http-gateway + $ cd /nebula-dashboard/vendors/nebula-http-gateway $ nohup ./nebula-httpd & ``` - Service address: http://127.0.0.1:8090 diff --git a/vendors/nebula-stats-exporter/config.yaml b/vendors/nebula-stats-exporter/config.yaml new file mode 100644 index 00000000..413c3ca3 --- /dev/null +++ b/vendors/nebula-stats-exporter/config.yaml @@ -0,0 +1,27 @@ +clusters: +- name: "default" + instances: + - name: metad0 + endpointIP: 192.168.8.143 + endpointPort: 19559 + componentType: metad + - name: graphd0 + endpointIP: 192.168.8.143 + endpointPort: 19669 + componentType: graphd + - name: storaged0 + endpointIP: 192.168.8.143 + endpointPort: 19779 + componentType: storaged + - name: metad1 + endpointIP: 192.168.8.167 + endpointPort: 19559 + componentType: metad + - name: graphd1 + endpointIP: 192.168.8.167 + endpointPort: 19669 + componentType: graphd + - name: storaged2 + endpointIP: 192.168.8.167 + endpointPort: 19779 + componentType: storaged \ No newline at end of file