Skip to content

Commit

Permalink
*: add monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Jun 16, 2021
1 parent 71385e4 commit e14a3db
Show file tree
Hide file tree
Showing 6 changed files with 943 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ dist/
cert.pem
key.pem
.DS_Store
monitor/data/
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ go get -u "github.com/Ehco1996/ehco/cmd/ehco"

### 从release下载编译好的文件

> ehco的可执行文件可以从项目的[release](https://github.com/Ehco1996/ehco/releases)页面下载
> ehco 的可执行文件可以从项目的[release](https://github.com/Ehco1996/ehco/releases)页面下载
### docker image

Expand All @@ -43,6 +43,7 @@ go get -u "github.com/Ehco1996/ehco/cmd/ehco"
* 从配置文件启动 支持多端口转发
* 从远程启动
* benchmark
* grafana 监控报警

## 使用说明

Expand Down Expand Up @@ -98,6 +99,20 @@ go get -u "github.com/Ehco1996/ehco/cmd/ehco"
}
```

## 监控报警

* dashboard 和 prometheus 规则可以从`monitor`文件夹下找到,可以自行导入


* 类似 Smokeing Ping 的延迟监控

![](monitor/ping.png)

* 流量监控

![](monitor/traffic.png)


## Benchmark(Apple m1)

iperf:
Expand Down
Loading

0 comments on commit e14a3db

Please sign in to comment.