@Override
        public void run() {
          List<SingleMetric> events = getEvents();
          sink.publish(events);
          LOG.debug("********* Published stomp events metrics to sink **********");
        }
Collects metrics about number of events by types and publishes to configured Metric Sink.
ambari-server/src/main/java/org/apache/ambari/server/metrics/system/impl/StompEventsMetricsSource.java