We deployed the elastic APM and did performance testing for a Java application by for both success and failure scenarios for Http2xx and Http4xx response code.
But we don't see any data coming in the errors section of APM when we generate the Http4xx responses. How can we generate a scenario where we can see some test data under Error tab of APM UI. We are trying for the first time APM to monitor the performance of our API's and understanding on what gets reported under Error section will really help us achieve what we needed to set up some watcher jobs.
We deployed the elastic APM and did performance testing for a Java application by for both success and failure scenarios for Http2xx and Http4xx response code.
But we don't see any data coming in the errors section of APM when we generate the Http4xx responses. How can we generate a scenario where we can see some test data under Error tab of APM UI. We are trying for the first time APM to monitor the performance of our API's and understanding on what gets reported under Error section will really help us achieve what we needed to set up some watcher jobs.
For Java applications, the Errors page will show exceptions. You can see some demo data at Elastic Demos. To see errors in your own application, have your request handler throw an exception.
You can find HTTP request that return 4xx response codes under the Transactions page instead by searching for transaction.result: "HTTP 4xx".
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.