APM Agent language and version: Ruby, 2.9.1
ElasticAPM.report_message return either
ElasticAPM.report(exception) => true
I would like to propose a change to make it return an instance of
ElasticAPM::Error instead. Or at least
The reason for this, we'd like to be able to communicate an error id back to a client as part of server error payload. This would allow us to easily identify errors in ELK by id.
Required code change
The code change to achieve this is very small.
We just need to modify
so they return
error, instead of
What do you think?
If you give me a green light I can prepare a pull request for this.
Thanks in advance.