描述
Describe the feature:
The Java agent is adding a feature that attaches an error.id alongside the transaction.id and trace.id to logs if this error refers to an error that is captured by APM.
For example, if the user logs an error like this:
logger.error("Whops", exception);
APM will create and report an Error that contains additional metadata like a link to the transaction, an error group ID (which is a hash of the stack trace excluding line numbers), and (depending on the capabilities of the runtime) local variables and code snippets.
If an error.id is present in a log event, the UI should link to the Errors tab in the APM UI, similarly to how it currently links to the trace if there's a trace.id
Describe a specific use case for the feature:
When a user sees an error in the Logs App, they should be able to easily get more details about that error and how often this error is occurring over time.