Re: my app needs to get the number of instances in which its running, (in runtime my app uses this info in my program logic)
CF Runtime
This information is not provided to the app. You can see what data is
toggle quoted message
Show quoted text
provided here: http://docs.run.pivotal.io/devguide/deploy-apps/environment-variable.html#instance-vars If you want to get this information for you app, the best way would be to have the app call the API directly and see what the "instances" attribute is set to. http://apidocs.cloudfoundry.org/218/apps/retrieve_a_particular_app.html Joseph CF Release Integration Team
On Mon, Sep 28, 2015 at 12:14 PM, zooba Sir <myfakename90(a)gmail.com> wrote:
evaluating the performance of my app. |
|