{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/573","repository_url":"https://api.github.com/repos/elastic/apm-agent-nodejs","labels_url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/573/labels{/name}","comments_url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/573/comments","events_url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/573/events","html_url":"https://github.com/elastic/apm-agent-nodejs/issues/573","id":358528126,"node_id":"MDU6SXNzdWUzNTg1MjgxMjY=","number":573,"title":"Make apm.captureError() return error uuid","user":{"login":"lenartbezek","id":6131043,"node_id":"MDQ6VXNlcjYxMzEwNDM=","avatar_url":"https://avatars3.githubusercontent.com/u/6131043?v=4","gravatar_id":"","url":"https://api.github.com/users/lenartbezek","html_url":"https://github.com/lenartbezek","followers_url":"https://api.github.com/users/lenartbezek/followers","following_url":"https://api.github.com/users/lenartbezek/following{/other_user}","gists_url":"https://api.github.com/users/lenartbezek/gists{/gist_id}","starred_url":"https://api.github.com/users/lenartbezek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenartbezek/subscriptions","organizations_url":"https://api.github.com/users/lenartbezek/orgs","repos_url":"https://api.github.com/users/lenartbezek/repos","events_url":"https://api.github.com/users/lenartbezek/events{/privacy}","received_events_url":"https://api.github.com/users/lenartbezek/received_events","type":"User","site_admin":false},"labels":[{"id":664230009,"node_id":"MDU6TGFiZWw2NjQyMzAwMDk=","url":"https://api.github.com/repos/elastic/apm-agent-nodejs/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-10T08:55:41Z","updated_at":"2018-09-13T20:27:43Z","closed_at":null,"author_association":"NONE","body":"**The problem**\r\nWe 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.\r\n\r\n**Preferred solution**\r\nHaving `apm.captureError()` return the assigned uuid through callback or directly.\r\n\r\n**Alternatives considered**\r\nUsing tags with a different uuid.\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/comments/421141980","html_url":"https://github.com/elastic/apm-agent-nodejs/issues/573#issuecomment-421141980","issue_url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/573","id":421141980,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTE0MTk4MA==","user":{"login":"Qard","id":205482,"node_id":"MDQ6VXNlcjIwNTQ4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/205482?v=4","gravatar_id":"","url":"https://api.github.com/users/Qard","html_url":"https://github.com/Qard","followers_url":"https://api.github.com/users/Qard/followers","following_url":"https://api.github.com/users/Qard/following{/other_user}","gists_url":"https://api.github.com/users/Qard/gists{/gist_id}","starred_url":"https://api.github.com/users/Qard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qard/subscriptions","organizations_url":"https://api.github.com/users/Qard/orgs","repos_url":"https://api.github.com/users/Qard/repos","events_url":"https://api.github.com/users/Qard/events{/privacy}","received_events_url":"https://api.github.com/users/Qard/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T20:27:43Z","updated_at":"2018-09-13T20:27:43Z","author_association":"MEMBER","body":"Looks like the error id _does_ change. https://github.com/elastic/apm-server/blob/v2/docs/spec/errors/v2_error.json#L12"}}
{"actor":{"display_login":"Qard"}}