code: public static void threadInfo(final Map<String, Object> infos) {
          infos.put("thread.count", THREAD_BEAN.getThreadCount());
          infos.put("thread.peakCount", THREAD_BEAN.getPeakThreadCount());
          infos.put("thread.startedCount", THREAD_BEAN.getTotalStartedThreadCount());
      }
docs: Collects system information as delivered from the {@link ThreadMXBean}.
  
  @param infos a map where the infos are passed in.