public void setActivatedSessions(int numActivated) {
        setStaticMetric(METRIC_ACTIVATED_SESSIONS, numActivated);
    }
Set the number of activated sessions.
configserver/src/main/java/com/yahoo/vespa/config/server/monitoring/MetricUpdater.java