green-coding-solutions / green-metrics-tool

Measure energy and carbon consumption of software
https://metrics.green-coding.io
GNU Affero General Public License v3.0
159 stars 22 forks source link

Change machine_id to UUID1 #587

Open ribalba opened 9 months ago

ribalba commented 9 months ago

Currently the machine_id is set in the config file manually. We should replace this to be a UUID so we can provision cluster machines without syncing the machine ids. See https://github.com/green-coding-berlin/green-metrics-tool/discussions/582#discussioncomment-7816445

ribalba commented 9 months ago

I forgot to note that uuid1 also incorporates time so that it will not return the same uuid ever time the install script (which will probably set this) is run. So it is important to check if machine_id is already set.

mafleischer commented 7 months ago

Hi. I'm getting into GMT and I would like to take this issue :)

ribalba commented 7 months ago

Great news. Feel free to reach out if you have any questions.

mafleischer commented 4 months ago

Hi folks! Just wanted to let you know (very late 🙈) that immediately after getting into the GMT and this issue I took on a paid project and had no time anymore 😢 I hope in the next free slot I will be able to take this up again.

ArneTR commented 4 months ago

Thanks for the update on this! Let us know when you wanna start at any point in the future and need input from us :)