elastic / elastic/apm

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

Open
#671 0 comments 0 reactions 0 assignees View on GitHub
apm-agents meta
Dominant language
Gherkin
Stars
427
Forks
125
PR merge metrics
No merged PRs in 30d

Description

# 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.

- spec: https://github.com/elastic/apm/blob/main/specs/agents/tracing-instrumentation-db.md#elasticsearch
- spec PR: https://github.com/elastic/apm/pull/653

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

## Agent Issues
- [ ] https://github.com/elastic/apm-agent-java/issues/2742 Milestone
- [ ] https://github.com/elastic/apm-agent-dotnet/issues/1783 Milestone
- [ ] https://github.com/elastic/apm-agent-python/issues/1611 Milestone
- [ ] https://github.com/elastic/apm-agent-go/issues/1296 Milestone
- [ ] https://github.com/elastic/apm-agent-php/issues/744 Milestone
- [ ] https://github.com/elastic/apm-agent-ruby/issues/1295 Milestone

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.