/v2/entries:list API call -
it usually takes a minute or more. For example, a recent call that returned 21 entries took ~330 seconds. Is this expected?!
query
is of the form:
logName="projects/brid-gy/logs/stdout" AND trace="projects/brid-gy/traces/72f7ab04fb705cb891c1e96654660bc6"
--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/7b5c1f82-1033-4522-8bb2-0cfe76ddbe7fo%40googlegroups.com.
On Thu, Jun 4, 2020 at 3:30 PM Ryan B <goo...@ryanb.org> wrote:
--Hi all! I migrated from the App Engine Python 2 runtime to Stackdriver Logging a bit ago, and it's mostly great, but I've hit a few quirks. One big one is that reading from the logging API seems crazy slow. I'm using the google-cloud-logging pip package, and when i instantiate a LoggingServiceV2Client and call list_log_entries() - which I'm guessing uses the/v2/entries:list API call -
it usually takes a minute or more. For example, a recent call that returned 21 entries took ~330 seconds. Is this expected?!My code looks like this:
logging_client = LoggingServiceV2Client()...for log in logging_client.list_log_entries(('projects/brid-gy',), filter_=query):...wherequery
is of the form:
logName="projects/brid-gy/logs/stdout" AND trace="projects/brid-gy/traces/72f7ab04fb705cb891c1e96654660bc6"
Thanks in advance!
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdriver-discu...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-discussion+unsub...@googlegroups.com.
logName="projects/brid-gy/logs/stdout" AND trace="projects/brid-gy/traces/72f7ab04fb705cb891c1e96654660bc6"
Thanks Igor! Just FYI, you cc'ed Mary the same way on my last question about the logging API, and she never replied.
On Thursday, June 4, 2020 at 12:32:19 PM UTC-7, Igor Peshansky wrote:
On Thu, Jun 4, 2020 at 3:30 PM Ryan B <goo...@ryanb.org> wrote:
--Hi all! I migrated from the App Engine Python 2 runtime to Stackdriver Logging a bit ago, and it's mostly great, but I've hit a few quirks. One big one is that reading from the logging API seems crazy slow. I'm using the google-cloud-logging pip package, and when i instantiate a LoggingServiceV2Client and call list_log_entries() - which I'm guessing uses the/v2/entries:list API call -
it usually takes a minute or more. For example, a recent call that returned 21 entries took ~330 seconds. Is this expected?!My code looks like this:
logging_client = LoggingServiceV2Client()...for log in logging_client.list_log_entries(('projects/brid-gy',), filter_=query):...wherequery
is of the form:
logName="projects/brid-gy/logs/stdout" AND trace="projects/brid-gy/traces/72f7ab04fb705cb891c1e96654660bc6"
Thanks in advance!
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/7b5c1f82-1033-4522-8bb2-0cfe76ddbe7fo%40googlegroups.com.
--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/a6012132-bc79-49df-97b9-a749324b455ao%40googlegroups.com.
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdriver-discu...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-discussion+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/7b5c1f82-1033-4522-8bb2-0cfe76ddbe7fo%40googlegroups.com.
--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdriver-discu...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-discussion+unsub...@googlegroups.com.
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/7b5c1f82-1033-4522-8bb2-0cfe76ddbe7fo%40googlegroups.com.
--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/a6012132-bc79-49df-97b9-a749324b455ao%40googlegroups.com.
--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/abc00c5c-7722-4b4d-ac83-4ea8337e2104o%40googlegroups.com.