question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

getEntries() exhausts read quota by default

See original GitHub issue

It should be easy to reproduce:

logging.getEntries((err, entries) {
  err.message === "RESOURCE_EXHAUSTED: Insufficient tokens for quota 'logging.googleapis.com/read_requests' and limit 'ReadRequestsPerMinutePerProject' of service 'logging.googleapis.com' for consumer 'project_number:...'"
})

This is because autoPaginate: true is enabled by default, and there are generally thousands of logs to process. Should the GAPIC / GAX layer be doing something differently to throttle these requests?

@alexander-fenster

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
keenan-devrelcommented, Jun 2, 2021

Async iterators are in. Docs for the above are in. Pending samples. Closing this issue.

0reactions
bcoecommented, Apr 10, 2020

@alexander-fenster once we deprecate Node 8, it might be worth documenting async iterators in this repo, and we can close this old issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

performance.getEntries() - Web APIs - MDN Web Docs
The getEntries() method returns an array of all PerformanceEntry objects currently present in the performance timeline.
Read more >
4 Cluster ASM Compliance Standards - Oracle Help Center
These are the compliance rules for the Cluster ASM compliance standards.
Read more >
Diff - platform/frameworks/base - android Git repositories
(!mInterfaceName.equals(lp.getInterfaceName())) { // TODO: figure out how to cope with interface changes. @@ -204,7 +264,21 @@ } } + public void probeAll() {...
Read more >
Linux Quick Reference Guide (6th ed.) - Daniele Raffo
The Linux Standard Base defines a format to specify default values on an init ... call the wait() system call to read the...
Read more >
Search Results - CVE
The phones have the heap overflow, out-of-bounds read, and null pointer vulnerabilities in the fingerprint trusted application (TA).Successful exploitation of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found