I've setup an APM integration via a python APM agent.
I would like to send an email every time there is an error in the application.
Here's the catch: I would like the email body to contain the actual error message, not just a message that there was an error.
Is this even possible? What other strategies could I employ if this doesn't work out-of-the-box in APM?
I think I could create a watcher with the right filters and then in the watcher actions I could specify that I would like to include data from the matching documents in my email body.
But is there a better way to do this with APM?