新增:中英文,常见问题-如何设置每月重置月流量统计文档

This commit is contained in:
hhhkkk520 2022-06-06 17:36:36 +02:00
parent dcb1616639
commit be775c78f0
3 changed files with 27 additions and 2 deletions

View File

@ -92,7 +92,8 @@ function getGuideSidebarZhCN() {
{ text: 'Agent 启动/上线 问题自检流程', link: '/guide/q2' },
{ text: '如何反向代理 gRPC 端口', link: '/guide/q3' },
{ text: '实时通道断开/在线终端连接失败', link: '/guide/q4' },
{ text: '如何进行数据迁移、备份恢复?', link: '/guide/q5' }
{ text: '如何进行数据迁移、备份恢复?', link: '/guide/q5' },
{ text: '如何每月重置流量统计?', link: '/guide/q6' }
]
},
{
@ -144,7 +145,8 @@ function getGuideSidebarEnUS() {
{ text: 'Let the Agent start/on-line, and the self-test process of the problem', link: '/en_US/guide/q2' },
{ text: 'Reverse Proxy gRPC Port (support Cloudflare CDN)', link: '/en_US/guide/q3' },
{ text: 'Real-time channel disconnection/online terminal connection failure', link: '/en_US/guide/q4' },
{ text: 'How do I migrate my data to the new server and restore my backups?', link: '/en_US/guide/q5' }
{ text: 'How do I migrate my data to the new server and restore my backups?', link: '/en_US/guide/q5' },
{ text: 'How to set up a monthly reset of data statistics?', link: '/en_US/guide/q6' }
]
},
{

12
docs/en_US/guide/q6.md Normal file
View File

@ -0,0 +1,12 @@
#### How to set up a monthly reset of transfer statistics?
In the home page, the traffic statistics will be reset when the server is restarted.
If you want to set the traffic statistics to be reset once a month, you can do it like this:
1. Go to the ` Notification` page of the admin panel
2. Refer to [this document](/en_US/guide/notifications.html#special-any-cycle-transfer-notification) to create a monthly transfer statistics notification
3. Return to the home page and you can see the monthly transfer statistics in the `Service` page, where the statistics will not be reset when the server is restarted
::: tip
This method can be set to any period, including and not limited to hourly/daily/weekly/monthly/yearly reset transfer statistics, very flexible!
:::

11
docs/guide/q6.md Normal file
View File

@ -0,0 +1,11 @@
#### 如何每月重置流量统计?
主页中的流量统计每次服务器重启时都会重置,如果要实现每月重置一次流量计数,可以这样实现:
1. 进入管理面板的 `报警通知`
2. 参考[这篇文档](/guide/notifications.html#特殊:任意周期流量报警),创建一个月流量报警
3. 返回主页,在 `服务` 页中就可以看到月流量统计了,这里的统计数据不会因为服务器重启而重置
::: tip
此方式可以设置任何周期,包括且不限于每小时/每天/每周/每月/每年重置流量统计,非常灵活!
:::