Re: CF Auto-scaling with an external application

Daniel Mikusa

I suspect that you probably want to look at streaming metrics from doppler,
rather than polling metrics from some other sources like inside the
container or an API call.

This project has some sample apps that show connecting a streaming logs and
metrics. I think the latter is probably what you want.

This repo has a little more info too:

If you do decide that you want to poll instead, this is probably a good API
call for that.

You can see all the API call's here:

Hope that helps!


On Sun, Mar 27, 2016 at 1:33 PM, Giovanni Napoli <gio.napoli2(a)>

Hi everybody,
i'm studying Cloud Foundry PaaS for my thesis in Computer Science and one
of the point i have to develop with this platform is tho project and then
develop an external application, written in Java, that could provide to the
platform a kind of auto-scaling service that isn't provided for Cloud
Foundry by default.
The metrics i would to use for auto-scaling the apps is CPU and RAM usage.
I know that using "bosh ssh" into the "runner" job, i can log in into the
containers using "wsh" to use a bash terminal into the containers. However,
here's my questions:
- is there a way to see, without connecting into the containers, what are
the resources used by the apps? Maybe with a "top" or "htop" or whatever
- if not, i've seen that in the containers i can't launche this kind of
commands to se rosource usage, isn't it?
- is there another solutions, maybe easier, to resolve develop this kind
of application?
Any kind of suggestion would be great.
Thank you for your support.

Join to automatically receive all group messages.