See https://codecov.io/gh/SolarEdgeTech/pyctuator/src/master/pyctuator/metrics/thread_metrics_impl.py