elastic/kibana

[Logs App] Link to APM Error if event has error.id

Open

#61,952 opened on 2020年3月31日

GitHub で見る
 (11 comments) (1 reaction) (0 assignees)TypeScript (19,065 stars) (8,021 forks)batch import
Feature:DiscoverTeam:obs-explorationgood first issueneeds-refinement

説明

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.

コントリビューターガイド