Add CPU information (model, vendor, frequency) and memory details (clock, size, type) to API
Update CPU and memory details by switching to lshw method instead of cpuinfo Add CPU information (model, vendor, frequency) and memory details (clock, size, type) to API
Can you also provide an example of the JSON format returned by the API ?
Rebased on main.
Codecov Report
Attention: Patch coverage is 42.68293% with 47 lines in your changes are missing coverage. Please review.
Project coverage is 43.73%. Comparing base (
7b89523) to head (4795a85).
:exclamation: Current head 4795a85 differs from pull request most recent head befc521
Please upload reports for the commit befc521 to get more accurate results.
| Files | Patch % | Lines |
|---|---|---|
| src/aleph/vm/orchestrator/machine.py | 17.07% | 34 Missing :warning: |
| src/aleph/vm/orchestrator/resources.py | 70.00% | 9 Missing :warning: |
| src/aleph/vm/utils.py | 60.00% | 4 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #544 +/- ##
===========================================
- Coverage 53.87% 43.73% -10.15%
===========================================
Files 58 56 -2
Lines 5310 5053 -257
Branches 594 598 +4
===========================================
- Hits 2861 2210 -651
- Misses 2311 2726 +415
+ Partials 138 117 -21
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.