DX Application Performance Management

  • 1.  Does EP Agent support a timestamp?

    Posted Sep 06, 2016 09:44 AM

    Hi Everybody,

     

    I'm wondering if EPA supports sending a date as metric parameter, the reason for this is that I need record some metric in specific time

     

    <metric type="LongAverage" name="metricName" value="value" time= "Date"/>"



  • 2.  Re: Does EP Agent support a timestamp?

    Broadcom Employee
    Posted Sep 06, 2016 09:49 AM

    Hi Osvaldo,

     

    You could format the date as unix time before sending it then it would just be regarded as an integer type value

     

    cheers

    Mike



  • 3.  Re: Does EP Agent support a timestamp?

    Posted Sep 06, 2016 10:24 AM

    Hi Mike, thanks for your answer, but I still have a doubt, does Wily would record this metric in a espefic hour? In example my EP Agent run with a 5 minutes frequency, and if it runs in 11:03, could I take this metric and put it into 10:59:59? thats is my truly trouble



  • 4.  Re: Does EP Agent support a timestamp?

    Posted Sep 06, 2016 10:32 AM

    Mike, could you show me how do you do that, please?. Thanks



  • 5.  Re: Does EP Agent support a timestamp?
    Best Answer

    Broadcom Employee
    Posted Sep 06, 2016 10:49 AM

    Hi Osvaldo,

     

    This link shows how to do it using a linux/unix command

     

    date - convert timestamp to epoch with bash builtin printf - Unix & Linux Stack Exchange 

     

    cheers

    Mike



  • 6.  Re: Does EP Agent support a timestamp?

    Posted Sep 06, 2016 10:21 AM

    That is exactly what I do.

     

    Roger Meli



  • 7.  Re: Does EP Agent support a timestamp?

    Broadcom Employee
    Posted Sep 06, 2016 10:43 AM

    The timestamp value described in the guide can only be used for creating a transaction trace  or error event message.

     



  • 8.  Re: Does EP Agent support a timestamp?

    Broadcom Employee
    Posted Sep 06, 2016 03:53 PM

    Hi Osvaldo,

     

    Did Mike's reply help answer your question?  If so, let us know so we can mark this question as answered.

     

    Thanks,
    Matt