Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate Application Instance Density per foundation #76

Open
pacphi opened this issue Aug 4, 2019 · 1 comment
Open

Calculate Application Instance Density per foundation #76

pacphi opened this issue Aug 4, 2019 · 1 comment
Labels
feature New feature or request

Comments

@pacphi
Copy link
Collaborator

pacphi commented Aug 4, 2019

Report on average # of app instances per Diego Cell.

We could consume the total-running-application-instances metric from the /snapshot/summary endpoint.

The other info we need is the counts from the Resource Config tile section of the number of Diego Cells for each of PAS, and PAS for Windows installed tiles. (Note some foundations may have isolation segments so multiples of each tile would need to be summed).

To arrive at the answer we'd just divide the app instances into the total # of diego cells.

For the latter need to do some research on how to obtain.

@pacphi pacphi added the feature New feature or request label Aug 4, 2019
@pacphi pacphi changed the title Calculate App Density per foundation Calculate Application Instance Density per foundation Aug 4, 2019
@pacphi
Copy link
Collaborator Author

pacphi commented Aug 5, 2019

Maybe look at BOSH Director HTTP API?

Parsing results from https://bosh.io/docs/director-api-v1/#list-just-deployments and https://bosh.io/docs/director-api-v1/#list-vms-detailed might yield what we're after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant