Skip to content

Added: [DI-28776] - Add humanization support for selected units in CloudPulse metrics yAxis graph, legend and tooltip#13220

Merged
venkymano-akamai merged 3 commits intolinode:developfrom
venkymano-akamai:humanize_cout_data_updates
Dec 23, 2025
Merged

Added: [DI-28776] - Add humanization support for selected units in CloudPulse metrics yAxis graph, legend and tooltip#13220
venkymano-akamai merged 3 commits intolinode:developfrom
venkymano-akamai:humanize_cout_data_updates

Conversation

@venkymano-akamai
Copy link
Contributor

@venkymano-akamai venkymano-akamai commented Dec 22, 2025

Description 📝

Add humanization support for selected units in CloudPulse metrics yAxis graph, legend and tooltip

Changes 🔄

  1. Humanize the Yaxis based on unit of the metric like (Count, IOPS etc.,)
  2. Humanize the legendrows and tooltip as well.

Scope 🚢

Upon production release, changes in this PR will be visible to:

  • All customers
  • Some customers (e.g. in Beta or Limited Availability)
  • No customers / Not applicable

Target release date 🗓️ (Next release)

25-12-2025 in linode's develop branch

Preview 📷

Before After
Screenshot 2025-12-22 at 2 54 44 PM Screenshot 2025-12-22 at 2 55 56 PM

How to test 🧪

  1. Login into Monitor and Navigate to metrics
  2. In the dashboards, select a Database dashboard
  3. Choose required filters and in the widgets, scroll to the bottom
  4. In the IOPS related widgets, there will be trimmed Y-axis
  5. For the humanization to work, do the following change in CloudPulseLineGraph line 35

const isHumanizableUnit =
(flags.aclp?.humanizableUnits ?? ['IOPS'])?.some(
(unitElement) => unitElement.toLowerCase() === unit.toLowerCase()
) ?? false;

  1. In CloudPulseWidget humanizableUnits: flags.aclp?.humanizableUnits ?? ['IOPS'], in line 449
  2. Now for the same you will see humanized values
Author Checklists

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

…oudPulse metrics yAxis graph, legend and tooltip
@venkymano-akamai venkymano-akamai marked this pull request as ready for review December 23, 2025 04:37
@venkymano-akamai venkymano-akamai requested a review from a team as a code owner December 23, 2025 04:37
@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Dec 23, 2025
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🔺 1 failing test on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing866 Passing11 Skipped46m 21s

Details

Failing Tests
SpecTest
rebuild-linode.spec.tsCloud Manager Cypress Tests→rebuild linode » rebuilds a linode from Account StackScript

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/linodes/rebuild-linode.spec.ts"

@venkymano-akamai
Copy link
Contributor Author

venkymano-akamai commented Dec 23, 2025

Merging this, since jobs pass, cypress is having one failure which is passing in local for same branch, also has enough approvals

image

@venkymano-akamai venkymano-akamai merged commit 5c05c4a into linode:develop Dec 23, 2025
34 of 35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants