mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
- Implemented a new function to load recent status statistics from the database, enhancing the collector's ability to track real-time metrics. - Added error logging for failed status stats loading to improve monitoring and debugging capabilities. - Moved database transaction optimization settings outside of the transaction scope in SaveMetrics, improving performance during metric saving operations. - Updated SQL queries in GetRecentMetrics to streamline time filtering logic, ensuring accurate retrieval of recent metrics. These changes enhance the metrics collection process and improve the overall performance and reliability of the metrics dashboard.