Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add stats-exporter config,yaml #33

Merged
merged 1 commit into from
Jan 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
27 changes: 27 additions & 0 deletions vendors/nebula-stats-exporter/config.yaml
Original file line number Diff line number Diff line change
@@ -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