Skip to content
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

feat(query): annotate logger with trace id and record query errors in trace log #16094

Merged
merged 5 commits into from
Dec 10, 2019

Conversation

gavincabbage
Copy link
Contributor

@gavincabbage gavincabbage commented Dec 3, 2019

This PR connects logged errors to their corresponding trace by annotating the logger with the request's trace ID. Additionally, errors bubbling up to the query handler are captured in the trace logs.

A small, unrelated README update is also included.

@gavincabbage gavincabbage force-pushed the feat/query-trace-logging branch 3 times, most recently from 567e735 to 89694fc Compare December 5, 2019 19:36
@gavincabbage gavincabbage changed the title feat(query): annotate logger with trace id feat(query): annotate logger with trace id and record query errors in trace log Dec 5, 2019
@gavincabbage gavincabbage requested a review from a team December 5, 2019 20:31
@ghost ghost requested review from docmerlin and removed request for a team December 5, 2019 20:31
@docmerlin
Copy link
Contributor

looks good once you fix what is causing tests to fail, imo.

@gavincabbage gavincabbage force-pushed the feat/query-trace-logging branch 4 times, most recently from 7f5c7a7 to 02e87ac Compare December 9, 2019 18:49
@gavincabbage gavincabbage merged commit 3d835f9 into master Dec 10, 2019
@gavincabbage gavincabbage deleted the feat/query-trace-logging branch December 10, 2019 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants