[GH-ISSUE #133] 7500端口的那个监控界面在重启后历史数据没有了 #77

Closed
opened 2026-05-05 11:42:50 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @mbj2014 on GitHub (Oct 15, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/133

之前配置文件设置的是3天的数据,看7500端口的界面也有3天的情况。

然后我改了配置,加了站点,重启了服务。

发现文件目录下历史记录的log文件还在,但界面上显示的数据只有重启后的了,之前的没显示了。

Originally created by @mbj2014 on GitHub (Oct 15, 2016). Original GitHub issue: https://github.com/fatedier/frp/issues/133 之前配置文件设置的是3天的数据,看7500端口的界面也有3天的情况。 然后我改了配置,加了站点,重启了服务。 发现文件目录下历史记录的log文件还在,但界面上显示的数据只有重启后的了,之前的没显示了。
gitea-mirror 2026-05-05 11:42:50 -06:00
Author
Owner

@fatedier commented on GitHub (Oct 15, 2016):

目前为了使用方便,统计数据是直接存在内存中的,并没有持久化到磁盘,保留7天的数据,重启后就没了。这部分之后会考虑改进。

<!-- gh-comment-id:253961978 --> @fatedier commented on GitHub (Oct 15, 2016): 目前为了使用方便,统计数据是直接存在内存中的,并没有持久化到磁盘,保留7天的数据,重启后就没了。这部分之后会考虑改进。
Author
Owner

@ghsa1994 commented on GitHub (Nov 19, 2016):

保存在文件中就可以 ,要是保存在数据库中还必须安装mysql,就不方便了,

<!-- gh-comment-id:261694887 --> @ghsa1994 commented on GitHub (Nov 19, 2016): 保存在文件中就可以 ,要是保存在数据库中还必须安装mysql,就不方便了,
Author
Owner

@ivancxj commented on GitHub (Sep 29, 2017):

用sqlite 也方便的

<!-- gh-comment-id:333002882 --> @ivancxj commented on GitHub (Sep 29, 2017): 用sqlite 也方便的
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#77
No description provided.