code: public void init() {
          try {
              initPlugin();
          } catch (RuntimeException e) {
              LOG.error("init metrics plugin error:", e);
              System.exit(-1);
          }
  
          pushRefreshEvent();
          pushFlushEvent();
          pushMergeEvent();
          pushUploadEvent();
          pushDiagnosisEvent();
          LOG.info("Finish");
      }
docs: init plugins and start event