Class AlertManagerImporter

java.lang.Object
de.iip_ecosphere.platform.monitoring.prometheus.AlertManagerImporter

public class AlertManagerImporter extends Object
A prometheus alert manager importer. This class assumes that Transport is set up.
Author:
Matjaž Cerkvenik (original author of PrometheusSyncTask from which we took over code as we cannot hook into DAO)., Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • AlertManagerImporter

      public AlertManagerImporter()
  • Method Details

    • start

      public void start()
      Starts the importer.
    • synchronizeAlerts

      private void synchronizeAlerts(List<si.matjazcerkvenik.alertmonitor.model.DEvent> alertList, boolean psync)
      Synchronizes the alerts with the platform.
      Parameters:
      alertList - the alerts
      psync - comes from PSync (ignored)
    • stop

      public void stop()
      Stops the importer.