Title: Mention query time and optimization when using list_entries in the docs · Issue #68 · googleapis/python-logging · GitHub
Open Graph Title: Mention query time and optimization when using list_entries in the docs · Issue #68 · googleapis/python-logging
X Title: Mention query time and optimization when using list_entries in the docs · Issue #68 · googleapis/python-logging
Description: Hi. The library docs explain how to retrieve and query for logs using list_entries methods, simple enough. Nonetheless, I was quite puzzled today as to why my queries, even though very simple, take minutes to get the response from the AP...
Open Graph Description: Hi. The library docs explain how to retrieve and query for logs using list_entries methods, simple enough. Nonetheless, I was quite puzzled today as to why my queries, even though very simple, take...
X Description: Hi. The library docs explain how to retrieve and query for logs using list_entries methods, simple enough. Nonetheless, I was quite puzzled today as to why my queries, even though very simple, take...
Opengraph URL: https://github.com/googleapis/python-logging/issues/68
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mention query time and optimization when using list_entries in the docs","articleBody":"Hi.\r\n\r\nThe library docs explain how to retrieve and query for logs using `list_entries` methods, simple enough. Nonetheless, I was quite puzzled today as to why my queries, even though very simple, take minutes to get the response from the API. After quite a lot of googling and digging deep into Logging docs, I was able to find an answer: https://cloud.google.com/logging/docs/view/advanced-queries#finding-quickly\r\n\r\nThe reason why my queries took so long to execute is because I didn't limit the time period of my queries. This can be very confusing for newcomers and I think the docs could use a paragraph about query time and that most queries should be limited by time period (like they are, for instance, in the Google Cloud Platform web logs browser) or that if not limited by time period they can take a lot of time to execute.\r\n\r\nRegards,\r\nBartosz","author":{"url":"https://github.com/Mapiarz","@type":"Person","name":"Mapiarz"},"datePublished":"2020-10-13T14:31:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/68/python-logging/issues/68"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7823a2a1-9a16-28c6-8fd3-f21196a13a55 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABAA:13C54:161E7F8:1E39BCD:6A4F08A2 |
| html-safe-nonce | 2bcf5da5cf026ac934113513662e270e7e700a782c0f754bb50458642861157a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkFBOjEzQzU0OjE2MUU3Rjg6MUUzOUJDRDo2QTRGMDhBMiIsInZpc2l0b3JfaWQiOiI3NTY4ODEwMTYwNzIzNzg5OTg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5508be629c935028fb25c7c17f080cefab6d0015044946d2aeb0c44c1dd9d134 |
| hovercard-subject-tag | issue:720341690 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-logging/68/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1d8f0a91455c9133cea7d35fb09258580b865bb52c3e4bd46f5b8b4f93b3fbe1/googleapis/python-logging/issues/68 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1d8f0a91455c9133cea7d35fb09258580b865bb52c3e4bd46f5b8b4f93b3fbe1/googleapis/python-logging/issues/68 |
| og:image:alt | Hi. The library docs explain how to retrieve and query for logs using list_entries methods, simple enough. Nonetheless, I was quite puzzled today as to why my queries, even though very simple, take... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Mapiarz |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-logging git https://github.com/googleapis/python-logging.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992562 |
| octolytics-dimension-repository_nwo | googleapis/python-logging |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992562 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-logging |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width