cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Rajendra.Nautiyal
AppDynamics Team (Retired)

When you will get Error and Error/Min Metrics for Information Point

Whenever there is unhandled exception and you are creating an information point on that Class/Method, it will collect Error and Error/Min metrics for that information point. The code snippet will look like as mentioned below:

 

      public void getResult () throws NumberFormatException{
           String name = "abc";
           Integer.parseInt((name));

         }

 

In the above case, only the information point will show you Error and Error/Min metrics and you will not get any Error and Error/Min metric for a BT if you created a POJO Custom BT on same Class/Method.

 

When you will not get Error and Error/Min Metrics for Information Point

Whenever you are catching those exception using logger, you will get Error and Error/Min metrics for the BT, not for the information point. The code snippet will look like this:

 

    public void getResult() {
    try {
         String name = "abc";
         Integer.parseInt((name));
        } catch (NumberFormatException e) {
          logger.log(Level.SEVERE, e.getMessage());
        }
      }

 

In above case, you will get Error and Error/Min metrics for the BT if you created either a POJO Custom BT or Default BT, but if you created an information point of the same Class/Method, it will not show you Error and Error/Min metrisc.

 

Version history
Last update:
‎11-30-2018 01:15 PM
Updated by:
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here