elastic / apm

Elastic Application Performance Monitoring - resources and general issue tracking for Elastic APM.
https://www.elastic.co/apm
Apache License 2.0
384 stars 114 forks source link

enrich 'error.exception.type' for captured Elasticsearch client errors for better grouping #671

Open trentm opened 2 years ago

trentm commented 2 years ago

Description

To improve error grouping of captured Elasticsearch client errors, APM agents MAY enrich error.exception.type with the "error.type" value from the Elasticsearch response body JSON payload, if easily available.

The Node.js APM agent implemented this here: https://github.com/elastic/apm-agent-nodejs/issues/2770

Agent Issues