获取Google Maps API的使用信息
问题描述:
我们使用了一些google maps api,并且我们不会在我们的监控系统中添加gapi用法/配额.控制台api是否具有用于检索该指标的自己的api?也许其他解决方案?
we using some google maps api's, and we wan't to add gapi usage/quotas to our monitoring system. Does Console api has it's own api for retrieving that metrics? Maybe other solutions?
答
没有当前的API端点可获取您API的当前配额使用信息.检查您的应用程序使用的配额的唯一方法是检查您自己的开发者控制台.您还可以在此处查看流量(每秒请求数)和项目已启用API的错误率.
There is no current API endpoint to get the current quota usage information of your API. The only way to check the quota used by your application is by checking your own Developer Console. You can also see here the traffic (number of request per seconds), and error ratio of the enabled API of your project.