Skip to content

Conversation

@dkirov-dd
Copy link
Contributor

@dkirov-dd dkirov-dd commented Jan 12, 2026

What does this PR do?

Update the OOTB redis dashboard.

PREVIEW here

Motivation

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

@github-actions
Copy link

github-actions bot commented Jan 12, 2026

⚠️ Recommendation: Add qa/skip-qa label

This PR does not modify any files shipped with the agent.

To help streamline the release process, please consider adding the qa/skip-qa label if these changes do not require QA testing.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 370f4c8d96

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines 418 to 422
"type": "canonical_unit",
"unit_name": "second"
}
},
"formula": "top(query1 / 1000, 10, 'mean', 'desc')"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use correct units for slowlog duration

The slowlog metric redis.slowlog.micros.95percentile is in microseconds (see redisdb/metadata.csv:250), but this widget divides by 1000 and then formats the result as seconds. That converts microseconds to milliseconds while labeling them as seconds, so the displayed values are 1000× too large for any slowlog duration. Either divide by 1e6 for seconds or change the unit to milliseconds to avoid misleading latency readings.

Useful? React with 👍 / 👎.

Comment on lines +575 to +579
{
"name": "query1",
"data_source": "metrics",
"query": "avg:redis.cpu.sys{$host,$scope}"
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid labeling cumulative CPU time as usage

This chart plots redis.cpu.sys (and redis.cpu.user just below), which are cumulative CPU time counters (“CPU consumed” per redisdb/metadata.csv:58-61). Averaging these cumulative values yields a steadily increasing line, not actual CPU usage or percent, so the “Average CPU usage” widget will be misleading on any long-running Redis instance. Consider converting these counters to a rate/percent or renaming the widget to reflect CPU time consumed.

Useful? React with 👍 / 👎.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The raw Redis metrics are exposed as monotonically increasing counters but they get submitted to Datadog as rates in the Redis integration.

rtrieu
rtrieu previously approved these changes Jan 12, 2026
@temporal-github-worker-1 temporal-github-worker-1 bot dismissed rtrieu’s stale review January 13, 2026 10:34

Review from rtrieu is dismissed. Related teams and files:

  • documentation
    • redisdb/assets/dashboards/overview.json
@dkirov-dd dkirov-dd requested a review from rtrieu January 13, 2026 16:40
Copy link
Contributor

@mahipdeora25 mahipdeora25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants