Once you've ruled out this isn't due to the spawning of a new instance and/or memory usage, the next troubleshooting step would be to inspect the Stackdriver Error reporting <https://cloud.google.com/error-reporting/docs/> for any errors in the calls being made by the corresponding service/version correlating with the time when a high trace is observed. Additionally (and as mentioned by Aref), this could most likely be further investigated by implementing additional logging in your implementation as well.
Finally, these types of debugging questions are better addressed on StackOverflow where you have access to a large community of enthusiasts and experts to share ideas with and get support from. Please make sure to include all relevant details and error messages which would help the community troubleshoot. Alternatively, you can contact GCP Technical Support <https://cloud.google.com/support/> for further analysis if preferred. On Wednesday, May 22, 2019 at 5:48:04 AM UTC-4, Jeremy D wrote: > > Nope. This is automatic scaling. > > instance_class: F4 > automatic_scaling: > max_idle_instances: 1 > max_pending_latency: 1s > max_concurrent_requests: 60 > > On Sunday, May 19, 2019 at 10:36:25 AM UTC-5, Gregory Block wrote: >> >> I'm going to guess this service is set for manual scaling. >> >> On Tue, May 14, 2019 at 2:06 AM Jeremy D <[email protected]> wrote: >> >>> >>> Seem to have random high untraced time on various endpoints, but most >>> noticeably one that should always be responding well under 1 second, as all >>> it does it kick off a Task based on request data. Most of the responses are >>> around 100ms, some are even below that. Occasionally though, this endpoint >>> runs into 5 to 10 seconds of latency. >>> >>> [image: Screen Shot 2019-05-14 at 4.04.52 AM.png] >>> It's not a request that triggered spawning a new instance, and many of >>> them aren't either so I'm not sure why the untraced time is so high. Any >>> thoughts? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google App Engine" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/google-appengine. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/google-appengine/d1317353-4a97-49e2-ac25-12fef7bcffb6%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/google-appengine/d1317353-4a97-49e2-ac25-12fef7bcffb6%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/af2f1888-f366-420b-bb5d-e409d28862ca%40googlegroups.com.
