@Override
        public void completed(String job, double successFactor, long duration) {
            var context = metric.createContext(Map.of("maintainer", job));
            metric.set("maintenance.successFactorDeviation", successFactor, context);
            metric.set("maintenance.duration", duration, context);
        }
A utility to group active tenant nodes by application
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/NodeRepositoryMaintainer.java