Re: How does an application know it's running in DIEGO?

Dieu Cao <dcao@...>

Hi Jack,

There are not any explicit environment variables that we expose that an app
is running on DEAs or on Diego.
My best suggestion here would be to set an environment variable explicitly
and trigger your agent's behavior based on that.


On Mon, Feb 1, 2016 at 8:48 AM, Kris Hicks <khicks(a)> wrote:

You can use the CF CLI with the Diego-Enabler plugin to query whether an
application is running on Diego or not:

e.g. `cf has-diego-enabled App_Name`

On Mon, Feb 1, 2016 at 7:25 AM, Jack Cai <greensight(a)> wrote:


Is there a way for the application to know whether it's running in DEA or
DIEGO? Looking at [1], there is no environment variable that can tell this.



Join { to automatically receive all group messages.