question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make apm.captureError() return error uuid

See original GitHub issue

The 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:closed
  • Created 5 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Qardcommented, Sep 13, 2018
0reactions
watsoncommented, Nov 6, 2018

@lenartbezek this have now been released in v1.14.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found