Hi Guenter_Grossberger, Hiko_Davis,
Please confirm if the custom pbd created for error handling should be placed in error.pbd or not. I did the following but still I cannot see Errors Per Interval count increasing though I see the errors in fuse logs.
1. Error Detector was already enabled that is error.pbd is included in PBL file and introscope.agent.errorsnapshots.enable=true was already true in profile file.
2. Created separate custom pbd for tracing errors using ExceptionErrorReporter with WithParameters directive and placed it in hotdeploy folder. Autoprobe.log has successfully loaded my tracers and no errors around it.
3. Created error scenerios but couldn't see Errors Per Interval to be increasing.
Please let me know if am doing any mistake.
ExceptionErrorReporter: A per interval counter based on the number of exceptions being thrown (i.e. uncaught) from the identified method(s). If an exception is thrown, the error message is based on the return value of the getMessage() method called on the exception object.
That means ExceptionErrorReporter reports all exceptions being thrown from the instrumented method. If an exception is handled with a catch-block in the method it won't be reported. Then you would have to instrument the method that is called and throws the error.
Also considering the above lines, only uncaught exceptions are reported, I didn't get this as we want all the errors to be reported and if not the error message, will it not increment the Errors Per Interval as well ?