DX Application Performance Management

Expand all | Collapse all

How long are errors kept for?

Jump to Best Answer
  • 1.  How long are errors kept for?

    Posted 06-13-2016 01:23 PM

    Can someone tell me how long errors are held in the event database? We are using APM 10.1. A user was looking at a graph of Errors Per Interval for a Tomcat JVM and saw some errors on the graph. When they clock on the Errors tab they do not see anything. This is for a time period occurring about 8 days ago. When I go look into any other JVM, I do not see any errors for this time period either.

     

    Thanks

    Roger Meli



  • 2.  Re: How long are errors kept for?

    Broadcom Employee
    Posted 06-13-2016 01:31 PM

    Default is 14 days unless you change it during or after installation.



  • 3.  Re: How long are errors kept for?

    Broadcom Employee
    Posted 06-13-2016 01:58 PM

    Hi Roger:

      Hiko has answered your question. Please let us know if this thread can be marked as closed or there are followup questions

     

    Thanks

    Hal German



  • 4.  Re: How long are errors kept for?

    Broadcom Employee
    Posted 06-13-2016 02:03 PM

    Roger:

    You may also want to open a case on the main issue with Tomcat

     

    Thanks

    Hal



  • 5.  Re: How long are errors kept for?

    Posted 06-13-2016 02:43 PM

    Where is the parameter that sets how long the period is?



  • 6.  Re: How long are errors kept for?

    Broadcom Employee
    Posted 06-13-2016 04:28 PM

    Haruhiko,

     

    Wouldn't Errors Per Interval be stored as a regular metric in the Smartstor DB?  If Error Detector is enabled, then the data from the error snapshot (not the errors per interval) would be stored in the traces db making that the default of 14 days max to keep.

     

    Thanks,
    Matt



  • 7.  Re: How long are errors kept for?

    Posted 06-14-2016 08:36 AM

    Is this the parameter in question?

     

    # How many days to store traces

    introscope.enterprisemanager.transactionevents.storage.max.data.age=7



  • 8.  Re: How long are errors kept for?

    Broadcom Employee
    Posted 06-14-2016 08:50 AM

    Hi Roger,

     

    yes that is the property in question.  In a default installation it is 14, however in reading the documentation, it states that the error snapshot data that is taken if you have error detector installed will stay there for 14 (or in your example above, 7) days.  To me the Errors Per Interval is a regular metric, but I want to find out for sure.  Let me check with a few colleagues on this.

     

    Thanks,
    Matt



  • 9.  Re: How long are errors kept for?
    Best Answer

    Broadcom Employee
    Posted 06-14-2016 01:34 PM

    Hi Roger,

     

    Ok I got confirmation from Engineering.  The Errors Per Interval is a metric which is stored in your Smartstor DB and is bound to the Smartstor tier settings in the EM properties file.

     

    The error snapshot data is from Error Detector and that is stored in the traces db and is bound to the ntroscope.enterprisemanager.transactionevents.storage.max.data.age setting.

     

    So the metric above should have historical data prior to 7 days ago depending on what your tier settings are.  If you are using Error Detector, then the snapshots will only be kept for 7 days according to your setting above.

     

    Let me know if this helps.

     

    Thanks,
    Matt

     

     



  • 10.  Re: How long are errors kept for?

    Posted 06-14-2016 01:56 PM

    Thanks Matt. I appreciate the response. That explains what we are seeing.