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. https://github.com/cloudfoundry/noaa https://github.com/cloudfoundry/noaa#container-metrics This repo has a little more info too: https://github.com/cloudfoundry/dropsonde-protocol#message-types If you do decide that you want to poll instead, this is probably a good API call for that. http://apidocs.cloudfoundry.org/233/apps/get_detailed_stats_for_a_started_app.html You can see all the API call's here: http://apidocs.cloudfoundry.org/ Hope that helps! Dan On Sun, Mar 27, 2016 at 1:33 PM, Giovanni Napoli <gio.napoli2(a)gmail.com> wrote: Hi everybody,
|
|