You can view the metrics for API calls in the
API overview page
of the Google Cloud console.
Finally, you can view the quota metrics for both API calls and function
execution in the API quotas page
of the Google Cloud console. You can set up alerting on quota errors in
Cloud Monitoring
by filtering executions that have an out of quota
value for the STATUS metric label. See Introduction to Alerting
for more information.
Reading metrics programmatically
The following snippet illustrates how you can also read metrics from your code.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]