diff --git a/README.md b/README.md index e62946b..044b15a 100644 --- a/README.md +++ b/README.md @@ -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/` @@ -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 diff --git a/third/promethues/docker-compose.yaml b/third/prometheus/docker-compose.yaml similarity index 100% rename from third/promethues/docker-compose.yaml rename to third/prometheus/docker-compose.yaml diff --git a/third/promethues/k6_influxdb.json b/third/prometheus/k6_influxdb.json similarity index 100% rename from third/promethues/k6_influxdb.json rename to third/prometheus/k6_influxdb.json diff --git a/third/promethues/prometheus.yml b/third/prometheus/prometheus.yml similarity index 100% rename from third/promethues/prometheus.yml rename to third/prometheus/prometheus.yml diff --git a/third/readme.md b/third/readme.md index 391c714..9389a25 100644 --- a/third/readme.md +++ b/third/readme.md @@ -13,7 +13,7 @@ 组件使用 -* Promethues +* Prometheus * Node exporter * Process exporter @@ -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 @@ -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 数据源。 @@ -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 的面板。 ## 效果