mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-08 13:29:53 +00:00
More minor README updates
This commit is contained in:
parent
9cf435f535
commit
db181d5849
@ -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`.
|
||||
|
@ -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 用来统计流量使用情况。
|
||||
|
Loading…
x
Reference in New Issue
Block a user