You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for this page is missing. Please submit a [pull request](https://github.com/v2fly/v2fly-github-io/pulls) or refer to the Chinese documentation.
3
+
V2Ray provides statistical information about its operational status.
4
+
5
+
## StatsObject
6
+
7
+
`StatsObject` corresponds to the `stats` entry in the configuration file.
8
+
9
+
```json
10
+
{
11
+
}
12
+
```
13
+
14
+
Currently, statistics have no parameters - internal statistics are enabled simply by the presence of the `StatsObject` entry. You also need to enable corresponding items in [Policy](policy.md) to collect specific data.
15
+
16
+
The following statistics are currently available:
17
+
18
+
## User Data
19
+
20
+
> `user>>>[email]>>>traffic>>>uplink`
21
+
22
+
Uplink traffic for a specific user, measured in bytes.
23
+
24
+
> `user>>>[email]>>>traffic>>>downlink`
25
+
26
+
Downlink traffic for a specific user, measured in bytes.
27
+
28
+
:::tip
29
+
Statistics will not be enabled for users without a specified Email address.
30
+
:::
31
+
32
+
## Global Data
33
+
34
+
> `inbound>>>[tag]>>>traffic>>>uplink`
35
+
36
+
Uplink traffic for a specific inbound proxy, measured in bytes.
37
+
38
+
> `inbound>>>[tag]>>>traffic>>>downlink`
39
+
40
+
Downlink traffic for a specific inbound proxy, measured in bytes.
41
+
42
+
> `outbound>>>[tag]>>>traffic>>>uplink`
43
+
44
+
(V2Ray 4.26.0+) Uplink traffic for a specific outbound proxy, measured in bytes.
45
+
46
+
> `outbound>>>[tag]>>>traffic>>>downlink`
47
+
48
+
(V2Ray 4.26.0+) Downlink traffic for a specific outbound proxy, measured in bytes.
0 commit comments