Skip to content

fix(monitor): fix Redis Sentinel helpLink, sentinel metric types, add sentinel_timedout_scripts field#4122

Open
abhyudayareddy wants to merge 7 commits intoapache:masterfrom
abhyudayareddy:fix/redis-sentinel-helplink-metric-types
Open

fix(monitor): fix Redis Sentinel helpLink, sentinel metric types, add sentinel_timedout_scripts field#4122
abhyudayareddy wants to merge 7 commits intoapache:masterfrom
abhyudayareddy:fix/redis-sentinel-helplink-metric-types

Conversation

@abhyudayareddy
Copy link
Copy Markdown

… timedout_scripts field

Three bugs in app-redis_sentinel.yml:

  1. helpLink pointed to influxdb_promql docs instead of redis_sentinel docs (copy-paste error).

  2. All five sentinel section fields (sentinel_masters, sentinel_tilt, sentinel_running_scripts, sentinel_scripts_queue_length, sentinel_simulate_failure_flags) were declared as type: 1 (string) but Redis INFO sentinel returns integers for all of them. Corrected to type: 0 (number) so dashboards and alerting thresholds work correctly.

  3. Added missing sentinel_timedout_scripts field (present in Redis INFO sentinel output, tracks scripts that exceeded the timeout deadline — useful for detecting runaway Lua scripts in HA pipelines).

What's changed?

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.

… timedout_scripts field

Three bugs in app-redis_sentinel.yml:

1. helpLink pointed to influxdb_promql docs instead of redis_sentinel docs (copy-paste error).

2. All five sentinel section fields (sentinel_masters, sentinel_tilt, sentinel_running_scripts, sentinel_scripts_queue_length, sentinel_simulate_failure_flags) were declared as type: 1 (string) but Redis INFO sentinel returns integers for all of them. Corrected to type: 0 (number) so dashboards and alerting thresholds work correctly.

3. Added missing sentinel_timedout_scripts field (present in Redis INFO sentinel output, tracks scripts that exceeded the timeout deadline — useful for detecting runaway Lua scripts in HA pipelines).

Signed-off-by: abhyudayareddy <54602866+abhyudayareddy@users.noreply.github.com>
Comment thread hertzbeat-manager/src/main/resources/define/app-redis_sentinel.yml
Added documentation for monitoring Redis Sentinel instances, including pre-monitoring requirements, configuration parameters, and collection metrics.

Signed-off-by: abhyudayareddy <54602866+abhyudayareddy@users.noreply.github.com>
@github-actions github-actions Bot added the doc Improvements or additions to documentation label Apr 26, 2026
Added detailed monitoring guide for Redis Sentinel, including prerequisites, configuration parameters, and metrics collection.

Signed-off-by: abhyudayareddy <54602866+abhyudayareddy@users.noreply.github.com>
@abhyudayareddy
Copy link
Copy Markdown
Author

@Duansg — both documentation files have now been committed to the branch:

  • home/docs/en/help/redis_sentinel.md (English)
    • home/docs/zh-cn/help/redis_sentinel.md (Chinese)
      Could you please re-review when you get a chance? Thank you!

@Duansg
Copy link
Copy Markdown
Member

Duansg commented Apr 27, 2026

Pls check ci, for related questions, please refer to: code_style_and_quality_guide

@abhyudayareddy
Copy link
Copy Markdown
Author

@Duansg — I've investigated the two failing CI checks and wanted to share the findings:

DOC CI / docs-build (Dead Link Check): The failure is caused by https://www.githubstatus.com returning HTTP 405 (Method Not Allowed) to the link checker's HEAD requests — a GitHub-side anti-bot response. This URL lives in pre-existing documentation files, not in the redis_sentinel.md files added in this PR (those have 0 external links). The DOC CI passes on master because master CI only triggers on doc pushes, but the underlying githubstatus.com 405 issue would affect any branch with those legacy docs included.

Backend CI / backend-maven-e2e: E2E test failure unrelated to our YAML/docs changes.

Required check: License Checker / check-license-header ✅ passes.

The docs requested in your earlier review are now committed:

  • home/docs/en/help/redis_sentinel.md
    • home/docs/zh-cn/help/redis_sentinel.md
      Could you please re-review when you get a chance? Happy to address any other feedback.

@abhyudayareddy abhyudayareddy requested a review from Duansg May 6, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend doc Improvements or additions to documentation monitoring-template

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants