Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on 12-02-2016 04:05 AM - edited on 11-30-2018 01:15 PM by Nina.Wolinsky
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.
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.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form