Re: CF Auto-scaling with an external application
Daniel Mikusa
On Fri, Apr 8, 2016 at 2:12 PM, Giovanni Napoli <gio.napoli2(a)gmail.com>
wrote: @Daniel MikusaThere's two parts to this problem: 1.) You need to get metrics from the platform. I don't think (although this could have changed, since it's being rewritten at the moment) that cf-java-client supports this. I know it will allow you to stream logs, but I'm not sure if you can get metrics as well. If Ben Hale see's this, perhaps he can comment and confirm. 2.) Once you get metrics, you'd have to manage them and when appropriate initiate a request to scale the app. You can definitely use the cf-java-client for this. You can also use it to query information if for example you have an app guid and need the app name. Hope that helps! Thanks, Dan |
|