GAE > Logging > Flask Python Server > ttrace_id missing (sometimes)

43 views
Skip to first unread message

Sebastien Dupere

unread,
Apr 23, 2020, 10:07:22 PM4/23/20
to Google App Engine
Problem Some requests are missing the following label in our Logging:

One of the biggest culprit here is our health check query,

We think it's because the health check does not have the header: X_CLOUD_TRACE_CONTEXT

We can't find official documentation of this though and would like some explanations on when the trace_id is NOT being populated.

This is not a bug, we only want to be sure we understand.

Sebastien Dupere

unread,
Apr 23, 2020, 10:07:41 PM4/23/20
to Google App Engine, Gary Carino
+Gary Carino for visibility
--
Thank you,
Sebastien Dupere

Sebastien Dupere

unread,
Apr 27, 2020, 12:20:59 PM4/27/20
to Google App Engine
Answer from Pamela Delaney (@dpamela):

Hi. The header name is: X-Cloud-Trace-Context

Trace doesn't normally trace every request due to the performance impact.
Reply all
Reply to author
Forward
0 new messages