[英]How to find out how many other instances are running, from within code, on Google App Engine?
Is there some way to have my Node app find out how many instances are running, and perhaps get some kind of ID of the instance it's running on?有什么方法可以让我的 Node 应用程序找出正在运行的实例数量,并获取它正在运行的实例的某种 ID? I want to do this programmatically.
我想以编程方式执行此操作。
您应该能够使用应用引擎 API,这里是其余 API 的文档https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions.instances /列表
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.