[Issue] Log Aggregation fix on Checkout failure (group by reason, not Quote ID) #37879
Closed
5 tasks
Labels
Area: Cart & Checkout
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Progress: done
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Projects
This issue is automatically created based on existing pull request: #37871: Log Aggregation fix on Checkout failure (group by reason, not Quote ID)
Description (*)
More and more projects use log aggregation tools - either self-hosted like Kibana, or SaaS like NewRelic or Sentry. These solutions are not able to aggregate log messages correctly, when these include unique data - such as event ID or Quote ID.
Event-specific details should be passed as a second attribute (
context
) of log method.Before:
![image](https://private-user-images.githubusercontent.com/1639941/259693730-7dcbaa37-e9b1-42f6-8ce8-2bc207887c5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2ODQxNjQsIm5iZiI6MTcyMzY4Mzg2NCwicGF0aCI6Ii8xNjM5OTQxLzI1OTY5MzczMC03ZGNiYWEzNy1lOWIxLTQyZjYtOGNlOC0yYmMyMDc4ODdjNWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTVUMDEwNDI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Mjg3YWEwY2UzNTA2ZWZmZDYzNThhMDk1Y2JmNjhlZTNlMGNhZDFiZTE3ZDBhMGFkZGY5N2M5NDNmYTYxYmZkNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.tKosSXjEQfRJkpDsfi-oYgDDSMoOdHujhYuq6l5Hiz4)
After
Related Pull Requests
Fixed Issues (if relevant)
N/A
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: