Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logging: populate entry trace from HTTP request header
If we see the X-Cloud-Trace-Context header and the user hasn't already set the trace field, populate the trace field with the header. See #448. Change-Id: I4870616d6ff5e94ea3af94ff2fb5a8b346335766 Reviewed-on: https://code-review.googlesource.com/30890 Reviewed-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Jean de Klerk <deklerk@google.com>
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters