We are using ELK 6.8.4 and trying to add custom tags in APM JSONs.
I have a query related to transaction and error JSONs.
When my REST API is successful, it generates on transction JSON which is correct but when the response is failed, it is generating only error JSON. My understanding is irrespective of the response of REST API, it should generate transaction JSON.
Please correct my understanding as we are creating custom dashboard using APM's transaction JSONs.
do you happen to use Flask for your REST API? I just found a bug in our Flask integration, which results in exactly this behavior. Basically, we listen to the flask.signals.request_finished signal to end the transaction, but it turns out that Flask doesn't send that signal if an unhandled error occurs during the request.
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.