DX Application Performance Management

 View Only
  • 1.  CA APM: EPA Stateful

    Posted Nov 07, 2018 09:52 AM

    Hi all,
    We developed pluggin  in JAVA for CA APM and configured an EPA using these lines:

     

    introscope.epagent.plugins.stateful.names=ErrorSnapshotCAAPM

    introscope.epagent.stateful.ErrorSnapshotCAAPM.class=com.tdi.caapm.errorsnapshot.ErrorSnapshotCAAPM "../Configuracion.properties"

     

    This pluggin  takes around 10 minutes to complete, and then sleeps around 20 minutes to continue, totaling 30 minutes.

     

    try {
          Thread.sleep(duerme);
    } catch (InterruptedException e) {
          logger.error(configuracion.archivo + " -> Error en el intervalo de ejecucion: " + e.fillInStackTrace());
    }


    The problem is that it is interrupted when you try to sleep, and in the log you see this message:

     

    2018-11-07 09:20:14 ERROR ErrorSnapshotCAAPM:218 - ../Configuracion.properties -> Error en el intervalo de ejecucion: java.lang.InterruptedException: sleep interrupted

     

    We need to know if the EPA in the case of the Stateful has a time limit of interruption or in what way I can sleep the pluggin that the EPA does not finish it and restart it again.



  • 2.  Re: CA APM: EPA Stateful
    Best Answer

    Broadcom Employee
    Posted Nov 07, 2018 10:33 AM

    Any consideration to just make it stateless and let EPA/APMIA handle the restarts?

     

    Stateful plugins are meant to run continuously, so maybe stateless is the better option.

     



  • 3.  Re: CA APM: EPA Stateful

    Broadcom Employee
    Posted Nov 19, 2018 09:25 AM

    I agree with you

    Regards