Skip to content

[feature:redis-slowlog] Add Redis Slow Query Monitoring with Real-time Visualization#3475

Open
YxYL6125 wants to merge 36 commits intoapache:masterfrom
YxYL6125:feature-redis-slowlog
Open

[feature:redis-slowlog] Add Redis Slow Query Monitoring with Real-time Visualization#3475
YxYL6125 wants to merge 36 commits intoapache:masterfrom
YxYL6125:feature-redis-slowlog

Conversation

@YxYL6125
Copy link
Contributor

@YxYL6125 YxYL6125 commented Jun 18, 2025

What's changed?

This PR implements Redis slow query monitoring with real-time visualization functionality. It addresses issue #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

  • I have read the Contributing Guide
  • 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 and all cases have passed.

  • RedisCommonCollectImpl:

    1. collect: add logic handler for slow log
    2. getSingleRedisSlowLog: add getSingleRedisSlowLog method
    3. getClusterRedisSlowLog: add getClusterRedisSlowLog method
    4. parseSlowLogs: add parseSlowLogs method

image

@github-actions github-actions bot added the doc Improvements or additions to documentation label Jun 18, 2025
@YxYL6125
Copy link
Contributor Author

@tomsun28 plz approve check-license-header ci check 🙏

@tomsun28 tomsun28 added this to the 1.7.2 milestone Jun 20, 2025
@tomsun28 tomsun28 modified the milestones: 1.7.2, 1.7.3 Jun 24, 2025
@tomsun28
Copy link
Member

tomsun28 commented Jul 6, 2025

@tomsun28 plz approve check-license-header ci check 🙏

hi sorry for slow response, there still has error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Improvements or additions to documentation good first pull request Good for newcomers new feature

Projects

Status: To do

Development

Successfully merging this pull request may close these issues.

6 participants