-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transaction not getting associated with Errors on Elastic Cloud APM #78
Comments
Thanks for bringing this up. I won't be able to look at updating the package to support the 8.3 schema for a couple of days, and cannot provide an estimate on when it may be complete. I'd like to review the new schema for more than just the issue you identified with the error object. I will look at it when I have an opportunity, though. |
@dstepe thank you for your assurance! |
@abhishek1234graphs I believe the necessary change is available on the |
@dstepe
I changed the position of the |
Good catch. I was clearly not paying attention. Thanks. That should be fixed if you want to give it a try. |
Hi @dstepe ! |
If you notice the latest intake/v2/events Error schema on https://www.elastic.co/guide/en/apm/guide/current/api-error.html, along with the
transaction_id
, atransaction
object should also be present in the incoming JSON.Now in
jsonSerialize
function ofNipwaayoni\Events\Error
, thetransaction
key is not present. Therefore this key is never included during API calls made to Elastic Cloud APM Server.I called the API with and without the
transaction
key - the resulting Error (captured usingcaptureThrowable
function) got associated with a Transaction only if this key is included in the request body. Without the inclusion of this key, the Transaction correctly displays the presence of an Error, but never really redirects to the Error upon trying to inspect the associated Error separately (when you click on "View related error" on the Transaction).Is it possible for you to upgrade
Nipwaayoni\Events\Error
to appropriately include this new Schema?The text was updated successfully, but these errors were encountered: