Remove deprecation warnings as soon as metrics-lib 1.7.0 is released
Current Onionoo master does not use any deprecated metrics-lib methods, but as soon as we release metrics-lib 1.7.0 and update Onionoo to use that there will be some errors and some warnings. I found 2 errors and 3 warnings in the tests. There might be more when metrics-lib 1.7.0 comes out. This ticket is a placeholder to make sure that we remove these errors and warnings soon after they appear.
In this context we might also want to fix the deprecation warnings related to TimeFactory#getTime()
.