mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 16:41:54 +08:00
- Introduced new constants for data retention periods, specifying retention for metrics, status codes, paths, and referers to improve data management. - Updated the MetricsHistoryHandler to accept floating-point hours for more precise time queries, enhancing the flexibility of historical data retrieval. - Enhanced the metrics dashboard layout with additional CSS styles for better visual presentation and user experience. - Improved error handling in the response writing process to ensure robust logging of connection issues. - Implemented a new function to check for connection closure errors, improving the reliability of the proxy handler. These changes significantly enhance the metrics collection, retention, and user interface, providing a more robust framework for performance monitoring and data analysis.