Re: [google-appengine] Your migration stories

2020-05-01 Thread 'Sebastien Dupere' via Google App Engine
Hi Charlie, We did not have much pain except the change in the code (like prints and str and bytes being more exclusive for example). This had nothing to do with AppEngine. ** If anything moving to the latest python made sure we were using the latest google cloud libraries and avoid more issues.

Re: [google-appengine] Frequent restart of instances - App Engine Standard PHP 7.3

2020-04-30 Thread 'Sebastien Dupere' via Google App Engine
Hi Magnus, I do not have much experience with this setup as most of my projects are in Python, but I will give you a last suggestion. When you look at the logs in tools, could you look at the following logs (if they exist, also they are not shown by default): * app * nginx.X (X can be warning, er

Re: [google-appengine] Frequent restart of instances - App Engine Standard PHP 7.3

2020-04-29 Thread 'Sebastien Dupere' via Google App Engine
This is not the norm, my GAE Flexible projects have instances that can run for days easily. Quick Questions to try and help: * What is your app engine setup (Language/server/etc)? * What are your app engine machines type? ** Or configuration if using AppEngine Flexible. * Do you have a liveness_ch

[google-appengine] Re: GAE > Logging > Flask Python Server > ttrace_id missing (sometimes)

2020-04-27 Thread 'Sebastien Dupere' via Google App Engine
Answer from Pamela Delaney (@dpamela): Hi. The header name is: X-Cloud-Trace-Context - For sample use of https://cloud.google.com/trace/docs/quickstart#instrumentation - For a bit more information, see https://cloud.google.com/trace/docs/setup#sampling_rate Trace doesn't normally t

[google-appengine] Re: GAE > Logging > Flask Python Server > ttrace_id missing (sometimes)

2020-04-23 Thread 'Sebastien Dupere' via Google App Engine
+Gary Carino for visibility On Thu, Apr 23, 2020 at 7:14 PM Sebastien Dupere wrote: > Problem Some requests are missing the following label in our Logging: > > appengine.googleapis.com/trace_id > > One of the biggest culprit here is our health check query, > > We think it's because the health

[google-appengine] GAE > Logging > Flask Python Server > ttrace_id missing (sometimes)

2020-04-23 Thread 'Sebastien Dupere' via Google App Engine
Problem Some requests are missing the following label in our Logging: > appengine.googleapis.com/trace_id 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 th