Skip to content

Commit

Permalink
fix typo (#52)
Browse files Browse the repository at this point in the history
* fix typo

* fix typo
  • Loading branch information
HarrisChu authored Nov 22, 2021
1 parent ff74738 commit b0d1b32
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ After compilation, it would put binaries in `scripts` folder.
python3 run.py data
```

It would download the Hadoop automaticly, build the datagen jar, and then generate ldbc data.
It would download the Hadoop automatically, build the datagen jar, and then generate ldbc data.

To import the data more easier, split the file header to a `header.csv` file.
The result files in `${PWD}/target/data/test_data/`
Expand Down Expand Up @@ -159,7 +159,7 @@ jq .metrics.latency output/result_Go1Step.json
awk -F ',' 'NR>1{print $NF}' output/output_Go1Step.csv |sort|uniq -c
```

or, just review the sumary result in stdout. e.g.
or, just review the summary result in stdout. e.g.

```bash
✓ IsSucceed
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions third/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

组件使用

* Promethues
* Prometheus
* Node exporter
* Process exporter

Expand All @@ -26,16 +26,16 @@

## 部署步骤

### Promethues
### Prometheus

*promethues 复制到任意一个节点
*prometheus 复制到任意一个节点
* prometheus.yml 中,设置要监控的 nebula 节点,默认 node exporter 端口 9100,process exporter 端口 9256,然后启动 docker-compose。

```bash
docker-compose up -d
```

默认 promethues 的数据保留 15 天,如果需要更改,请自行修改 docker-compose 中 `--storage.tsdb.retention=15d'` 配置。
默认 prometheus 的数据保留 15 天,如果需要更改,请自行修改 docker-compose 中 `--storage.tsdb.retention=15d'` 配置。

### Exporter

Expand All @@ -48,7 +48,7 @@ docker-compose up -d

### Grafana

为了方便,grafana 默认放在 promethues 的 docker-compose.yml 中,启动 prometheus 时,会自动启动。
为了方便,grafana 默认放在 prometheus 的 docker-compose.yml 中,启动 prometheus 时,会自动启动。

* 登录 grafana,默认端口 3000,用户名/密码是: admin/admin。
* 添加 prometheus 数据源。
Expand All @@ -58,12 +58,12 @@ docker-compose up -d

### InfluxDB

为了方便,influxdb 默认放在 promethues 的 docker-compose.yml 中,启动 prometheus 时,会自动启动。
为了方便,influxdb 默认放在 prometheus 的 docker-compose.yml 中,启动 prometheus 时,会自动启动。
docker-compose 中,配置了默认数据库为 `k6`

*`.env` 中,配置 influxdb 的地址,如:`http://192.168.8.60:8086/k6`
* 登录 grafana,添加 influxdb 数据源。
* 添加 dashboard,json 文件见 [k6_influxdb.json](./promethues/k6_influxdb.json)
* 添加 dashboard,json 文件见 [k6_influxdb.json](./prometheus/k6_influxdb.json)
* 执行压力测试,查看 grafana 的面板。

## 效果
Expand Down

0 comments on commit b0d1b32

Please sign in to comment.