runbot/runbot_builder
Christophe Monniez 794a6bf7e2 [IMP] runbot: add a monitoring tool to the builder
At this moment it's difficult to monitor a build cpu and memory usage.
This must be done from outside the container to avoid to kill the cat by
opening the box.

This commit adds a daemonic thread launched by the builder. This thread
will read the memory and cpu stats of the running dockers and report
their stats in a log file into the logs directory of the builds.

The log file format is made to be easily mixed with the build logs and
spot memory leaks or cpu overload during builds.
2023-01-11 11:33:19 +01:00
..
builder.py [IMP] runbot: add a monitoring tool to the builder 2023-01-11 11:33:19 +01:00
dbmover.py [IMP] runbot: runbot 5.0 2020-09-10 13:44:38 +02:00
leader.py [FIX] runbot: apply small fixes 2022-06-20 14:37:02 +02:00
tester.py [IMP] runbot: create a separate process for cron 2021-12-08 15:06:49 +01:00
tools.py [IMP] runbot: add a monitoring tool to the builder 2023-01-11 11:33:19 +01:00