Is there a way to get the number of GAE instances that are up in real time?

Asked 2 years ago, Updated 2 years ago, 154 views

Could not find a way...
Is there any way?

google-app-engine

2022-09-30 20:10

2 Answers

Google App Engine Admin API
https://cloud.google.com/appengine/docs/admin-api/

I can get a list of instances that are started in the API below, so I think I should count them.
https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions.instances/list
However, you must specify Service and Version.


2022-09-30 20:10

I don't know why I want to know the number of instances, so I don't know the best solution, but there are several ways.


2022-09-30 20:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.