Unable to identify which quota is being exceeded from error logs

23 views
Skip to first unread message

Hendrik Schalekamp

unread,
Feb 17, 2022, 3:35:52 AM2/17/22
to Google Cloud Datastore

During increased traffic my API which runs on Cloud Run gives the error copied below. My best guess is that this is due to some Cloud Datastore call since any calls to this Cloud Run instance which does not use Datastore does not give this error during the "outage". Unfortunately there is no indication of which quota gets exceeded I have looked through my quotas and cannot see anything that is peeking. How can I trace down which quota is causing the issue?

error: { 
 code: 8 details: "Quota exceeded." note: "Exception occurred in retry method that was not classified as transient" 
stack: "Error: 8 RESOURCE_EXHAUSTED: Quota exceeded. at Object.callErrorFromStatus (/usr/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26) at Object.onReceiveStatus (/usr/app/node_modules/@grpc/grpc-js/build/src/client.js:180:52) at Object.onReceiveStatus (/usr/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141) at Object.onReceiveStatus (/usr/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181) at /usr/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:160:78 at processTicksAndRejections (internal/process/task_queues.js:79:11)"

Jim Morrison

unread,
Feb 17, 2022, 11:17:15 AM2/17/22
to Hendrik Schalekamp, Google Cloud Datastore
It seems you'll want to add some more logging to get a more complete trace.  However, along with checking quota (currently on https://console.cloud.google.com/appengine/quotadetails), you can check if you have set a daily budget.  You can see your daily budget at https://console.cloud.google.com/appengine/settings .

Jim

--
You received this message because you are subscribed to the Google Groups "Google Cloud Datastore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gcd-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gcd-discuss/14e8c998-bb1f-41b2-9767-9bf7e4152f2an%40googlegroups.com.


--
Jim
Reply all
Reply to author
Forward
0 new messages