More minor README updates

This commit is contained in:
Toby 2021-08-12 10:32:44 -07:00
parent 9cf435f535
commit db181d5849
2 changed files with 5 additions and 1 deletions

View File

@ -223,6 +223,8 @@ The endpoint must return results with HTTP status code 200 (even if the authenti
}
```
`ok` indicates whether the authentication passed. `msg` is a success/failure message.
#### Prometheus Metrics
You can make Hysteria expose a Prometheus HTTP client endpoint for monitoring traffic usage with `prometheus_listen`.

View File

@ -103,7 +103,7 @@ Hysteria 是一个功能丰富的,专为恶劣网络环境进行优化的网
```json
{
"server": "example.com:36712",
"obfs": "AMOGUS",
"obfs": "fuck me till the daylight",
"up_mbps": 10,
"down_mbps": 50,
"socks5": {
@ -208,6 +208,8 @@ Hysteria 是一个功能丰富的,专为恶劣网络环境进行优化的网
}
```
`ok` 表示验证是否通过,`msg` 是成功/失败消息。
#### Prometheus 流量统计
通过 `prometheus_listen` 选项可以让 Hysteria 暴露一个 Prometheus HTTP 客户端 endpoint 用来统计流量使用情况。