Skip to content

Question/Feature Request - V3 API to query all apps running on a diego cell #2164

Open
@mvadu

Description

@mvadu

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

  1. cfdot cell-state can be used to get the app GUIDs
  2. 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

  1. Query process/stats for the app being reported
  2. get the host IP
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions