-
Notifications
You must be signed in to change notification settings - Fork 0
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
Logging format, not really json. #12
Comments
Hmm. If we waited until a response has been successfully completed before we logged anything then we would miss requests that get lost (can happen with SR and important to be able to detect). Even for requests that succeed they can take considerable time and it can be important during that time to be tell from the logs that the request has been received. I can see that including the request path in the response message so the response message is more self contained would make then easier to handle in a kibana world (though it's not that hard to filter on I guess we can look at attempting to make response messages more self contained and reformat then. Pretty substantial bit of work though, especially since it means redeveloping some of the upstream components that are currently frozen. |
But I don't want to filter on |
- timestamp field now ts in compliant format - request/response logs now contain an explicit path to enable filtering - includes request_id field - uses incoming x-request-id field if present else generates transaction count Addresses: #12 and part of epimorphics/hmlr-ansible-deployment#76
|
Consider:
and
Timestamp isn't of requested format.
The
Response [n]
means that it is difficult to filter log the log entries concerned with metrics. It's not obvious which call the status/duration belongs to.Request a single event of a form similar to:
The text was updated successfully, but these errors were encountered: