Make apm.captureError() return error uuid
See original GitHub issueThe problem We pass uuids of internal errors through our client API, so that clients can trace and report them back to us. Because there is currently no way of getting the uuid that the agent assigns to errors, we have to add a tag with another uuid, that we can also pass with the error response.
Preferred solution
Having apm.captureError()
return the assigned uuid through callback or directly.
Alternatives considered Using tags with a different uuid.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Errors | APM User Guide [8.5] - Elastic
An error event contains at least information about the original exception that occurred or about a log created when the exception occurred.
Read more >How to capture and send error with Go APM to Elastic Kibana?
I got the basics of Elastic and Kibana (version 8.4) APM for a simple ... apm.CaptureError(r.Context(), errors.New("test error")).Send() } ...
Read more >How to use the elastic-apm-node.isStarted function in ... - Snyk
return async function apmMiddleware(ctx, next) { // Skip if apm is disabled if ... captureError(err); debug('Sent error to APM server'); }); throw err; ......
Read more >sitemap-topicarticle-1.xml - MuleSoft Help Center
... https://help.mulesoft.com/s/article/Error-403-is-returned-when-making-a- ... -chars-not-valid-UUID-when-run-in-cluster-mode 2022-11-07T11:18:57.000Z ...
Read more >apm - Go Packages
This is the official Go package for Elastic APM. ... CaptureError returns a new Error related to the sampled transaction and span present...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like the error id does change. https://github.com/elastic/apm-server/blob/v2/docs/spec/errors/v2_error.json#L12
@lenartbezek this have now been released in v1.14.0