Update READMEs

This commit is contained in:
Toby 2021-04-27 20:44:02 -07:00
parent 8c5b701a4b
commit 71701581ac
2 changed files with 6 additions and 0 deletions

View File

@ -183,6 +183,9 @@ You can make Hysteria expose a Prometheus HTTP client endpoint for monitoring tr
If configured on port 8080, the endpoint would be at `http://example.com:8080/metrics`. If configured on port 8080, the endpoint would be at `http://example.com:8080/metrics`.
```text ```text
hysteria_active_conn{auth="55m95auW5oCq"} 32
hysteria_active_conn{auth="aGFja2VyISE="} 7
hysteria_traffic_downlink_bytes_total{auth="55m95auW5oCq"} 122639 hysteria_traffic_downlink_bytes_total{auth="55m95auW5oCq"} 122639
hysteria_traffic_downlink_bytes_total{auth="aGFja2VyISE="} 3.225058e+06 hysteria_traffic_downlink_bytes_total{auth="aGFja2VyISE="} 3.225058e+06

View File

@ -171,6 +171,9 @@ Hysteria 是专门针对恶劣网络环境进行优化的 TCP/UDP 转发和代
例如如果配置在 8080 端口,则 API 地址是 `http://example.com:8080/metrics` 例如如果配置在 8080 端口,则 API 地址是 `http://example.com:8080/metrics`
```text ```text
hysteria_active_conn{auth="55m95auW5oCq"} 32
hysteria_active_conn{auth="aGFja2VyISE="} 7
hysteria_traffic_downlink_bytes_total{auth="55m95auW5oCq"} 122639 hysteria_traffic_downlink_bytes_total{auth="55m95auW5oCq"} 122639
hysteria_traffic_downlink_bytes_total{auth="aGFja2VyISE="} 3.225058e+06 hysteria_traffic_downlink_bytes_total{auth="aGFja2VyISE="} 3.225058e+06