public void setDeactivatedSessions(int numDeactivated) {
        setStaticMetric(METRIC_DEACTIVATED_SESSIONS, numDeactivated);
    }
Set the number of deactivated sessions.
configserver/src/main/java/com/yahoo/vespa/config/server/monitoring/MetricUpdater.java