YxYL6125 opened a new pull request, #3475: URL: https://github.com/apache/hertzbeat/pull/3475
…slow query in both EN and CN ## What's changed? This PR implements Redis slow query monitoring with real-time visualization functionality. It addresses issue https://github.com/apache/hertzbeat/issues/1045 by adding the capability to track and display Redis slow queries as they occur. 这个PR实现了Redis慢查询实时监控和可视化功能。它解决了issue #1045中提出的需求,添加了跟踪和显示Redis慢查询的实时能力。 1. Added a new 'slowlog' metric set in the Redis monitoring configuration 在Redis监控配置中添加了新的'slowlog'指标集 2. Updated the Redis collector implementation to fetch and process slow query data 更新了Redis采集器实现,以获取和处理慢查询数据 3. Added documentation for slow query monitoring in both English and Chinese 在中英文文档中添加了慢查询监控相关的说明 ## Checklist - [x] I have read the [Contributing Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide) - [x] I have written the necessary doc or comment. - [ ] I have added the necessary unit tests and all cases have passed. ## Add or update API - [ ] I have added the necessary [e2e tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have passed. This feature enhances Redis monitoring by allowing users to identify slow queries in real-time, which helps with performance diagnosis and optimization. Users can configure Redis slow query settings and view detailed information about each slow query including execution time, command, client IP, and timestamp. 此功能通过允许用户实时识别慢查询来增强Redis监控功能,有助于性能诊断和优化。用户可以配置Redis慢查询设置,并查看每个慢查询的详细信息,包括执行时间、命令、客户端IP和时间戳。  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
