Skip to content

Conversation

@nowgnuesLee
Copy link
Contributor

@nowgnuesLee nowgnuesLee commented Nov 14, 2025

resolves #4453 (FR-1611)

This PR adds support for displaying additional resource metrics in the Agent List component:

  • Implemented power consumption metrics for devices with proper formatting
  • Added temperature monitoring for devices with Celsius display
  • Added network traffic monitoring (Rx/Tx) with appropriate unit conversion
  • Added to enable display of other statistics as well

These enhancements provide administrators with more comprehensive monitoring capabilities for agent resources.

CleanShot 2025-11-14 at 14.13.46@2x.png

Checklist:

  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

@github-actions github-actions bot added the size:M 30~100 LoC label Nov 14, 2025
Copy link
Contributor Author

nowgnuesLee commented Nov 14, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link

github-actions bot commented Nov 14, 2025

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements 4.68% 547/11676
🔴 Branches 3.81% 314/8231
🔴 Functions 2.91% 104/3577
🔴 Lines 4.63% 529/11417

Test suite run success

125 tests passing in 14 suites.

Report generated by 🧪jest coverage report action from b096a3f

@nowgnuesLee nowgnuesLee marked this pull request as ready for review November 14, 2025 05:14
Copilot AI review requested due to automatic review settings November 14, 2025 05:14
Copilot finished reviewing on behalf of nowgnuesLee November 14, 2025 05:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for displaying additional resource metrics in the Agent List component, including power consumption, temperature, network traffic (Rx/Tx), and a fallback for other statistics.

Key Changes:

  • Added power consumption metrics with formatting via toFixedFloorWithoutTrailingZeros
  • Added temperature monitoring with Celsius display
  • Added network traffic monitoring (Rx/Tx) with decimal unit conversion
  • Added generic fallback rendering for unhandled statistics
  • Updated exclusion list to include 'disk' alongside 'cpu_util' and 'mem'

Copy link
Contributor

@agatha197 agatha197 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

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

LGTM

@graphite-app
Copy link

graphite-app bot commented Nov 18, 2025

Merge activity

…4637)

resolves #4453 (FR-1611)

This PR adds support for displaying additional resource metrics in the Agent List component:

- Implemented power consumption metrics for devices with proper formatting
- Added temperature monitoring for devices with Celsius display
- Added network traffic monitoring (Rx/Tx) with appropriate unit conversion
- Added to enable display of other statistics as well

These enhancements provide administrators with more comprehensive monitoring capabilities for agent resources.

![CleanShot 2025-11-14 at 14.13.46@2x.png](https://app.graphite.com/user-attachments/assets/594e245e-26a2-407f-9f6c-e38d5a2a37ec.png)

**Checklist:**

- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
@graphite-app graphite-app bot force-pushed the feat/add-more-agent-stat-types branch from 20490a0 to b096a3f Compare November 18, 2025 08:08
@graphite-app graphite-app bot merged commit b096a3f into main Nov 18, 2025
11 checks passed
@graphite-app graphite-app bot deleted the feat/add-more-agent-stat-types branch November 18, 2025 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30~100 LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more types of agent stat in the agent list

4 participants