aleph-vm icon indicating copy to clipboard operation
aleph-vm copied to clipboard

Add CPU information (model, vendor, frequency) and memory details (clock, size, type) to API

Open aliel opened this issue 1 year ago • 3 comments

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

aliel avatar Feb 16 '24 10:02 aliel

Can you also provide an example of the JSON format returned by the API ?

hoh avatar Feb 20 '24 14:02 hoh

Rebased on main.

hoh avatar Mar 07 '24 16:03 hoh

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.

codecov[bot] avatar Apr 30 '24 15:04 codecov[bot]