Skip to content

Detect and store Idle, 50% and Max CPU+RAM Usage result on power consumption, when it happens #164

@bpetit

Description

@bpetit

Problem

As someone keen to provide open data on power consumption depending on hardware, I'd like to have an opportunistic approach to know the power profile of my machine, then store it in a database.

Solution

Add a flag to ask Scaphandre to detect when CPU+ Ram resources is at its lowest possible (once system is booted), then store the power consumption in memory, do the same when at ~50% of resources consumed, and 100%, then send this metric to the targeted TSDB when the 3 (or more) elements of the dataset are present.

Alternatives

Provide a way to extract this data even if incomplete, right away (eg. only containing idle and 50% records).

Additional context

This could help to improve the data for the soon-to-be-released api from https://github.com/Boavizta/
and more broadly be useful to help open data on energy consumption of IT infrastructures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions