Logging
AppEngine/SE
grouping logs by ...
newer than parent.Timestamp, and older than parent.Timestamp + parent.HTTPRequest.Latency
older than parent.Timestamp, and newer than parent.Timestamp - parent.HTTPRequest.Latency, assuming the parent timestamp marks the end of the request.
https://github.com/googleapis/google-cloud-go/blob/1532374853c261adec6accdb86a491c45ae416d2/logging/doc.go#L124-L126
but real environment is parent.timestamp == parent.protoPayload.startTime.
I think this document's timestamp means parent.protoPayload.endTime.

is the document incorrect? or Is AppEngine special?
No documents other than this were found on how to group logs... 馃樋
Hi @vvakame. Thanks for filing this issue. Re:
is the document incorrect?
Could you specify which document you were looking at? Is it some section in https://godoc.org/cloud.google.com/go/logging?
Yes, from Grouping Logs by Request section.
I think it's copied from https://github.com/googleapis/google-cloud-go/blob/1532374853c261adec6accdb86a491c45ae416d2/logging/doc.go#L116-L132
Thank you! I hope to investigate this and get an answer soon.
@vvakame I will update the docs to try and clarify the behavior. Thanks for the report.
Fixed by a8038f9
Most helpful comment
@vvakame I will update the docs to try and clarify the behavior. Thanks for the report.