DX Application Performance Management

Expand all | Collapse all

Metric Frenquency EPA Agent

Jump to Best Answer
  • 1.  Metric Frenquency EPA Agent

    Posted 12-11-2018 07:54 AM
      |   view attached

    Is possible setup the metric's frequency in my script to send data to EPA Agent? I know that it's possible in Stateless, but it's possible to control this in stateful mode?

     

    The problem is that my script needs to be running in stateful mode, but when sending the data to the EPA, the frequency of the metric should be in 1 minute, but in APM this frequency is in 6 minutes.

     

    Warm regards

     

    Carlos Coqueiro



  • 2.  Re: Metric Frenquency EPA Agent

    Posted 12-11-2018 08:56 AM

    Hi Carlos,

     

    Without seeing your script it is only speculation but if you are using python or some other language that uses a buffer to store the output before sending it then you may need to flush the buffer after each execution. In stateless you would not see this effect as the buffer would flush on exit anyway. The behaviour you are descibing looks like you are getting the data each time the buffer fills and is flushed automatically.

     

    For python it would be 

     

    sys.stdout.flush()

     

    hope this helps

    Mike



  • 3.  Re: Metric Frenquency EPA Agent
    Best Answer

    Posted 12-11-2018 09:28 AM

    I thought I had written this up as a kb but turns out I forgot to publish it - have done so now

     

    Getting gaps in metric data for data from an EP Ag - CA Knowledge 



  • 4.  Re: Metric Frenquency EPA Agent

    Posted 12-11-2018 11:02 AM

    Perfect Mike.. Thank you so much!!! We'll  check this....

     

    Warm Regards

     

    Carlos Coqueiro