Description
Thanks for submitting an issue to cloud_controller_ng
. We are always trying to improve! To help us, please fill out the following template.
Issue
Provide a query interface (preferably as a filter to GET /v3/apps
to get list of apps given a IP address of a diego cell.
Context
As an operator we come across situations when a diego cell is running hot (high CPU), and we would like to see what apps are running on that cell. Currently we use a multi prong process
cfdot cell-state
can be used to get the app GUIDs- query CAPI for the app names for each of the GUID
Another use case is our APM reporting a hot AI, and we would like to see if there are any other apps getting impacted. That involves
- Query process/stats for the app being reported
- get the host IP
- use the two step approach above.
If we can query the CAPI directly to get list of apps running on a given host (by IP or Bosh DNS Name)it will make operator lives bit easier. If there is an easier approach to the problem statement I can explore that too.