You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So ... no info on the org is directly available from VCAP_APPLICATION. Poking around other env vars, didn't see anything there either.
Curious as to why org_id and org_name aren't listed here ... should bubble this back up through the Cloud Foundry org.
The relevant org data COULD be obtained indirectly, by interacting with the cloud controller directly, or via cf, but ... that would require full login credentials to be able to get the info, which doesn't seem like a safe thing to do.
Other alternatives would be to automagically add the org name at deployment time, via deployment scripts / manifests / tooling, which would seed the NSOLID_TAGS env var with the calculated tag.
Would be nice to add an additional N|Solid tag (via env var
NSOLID_TAGS
for the org, like we already do for the space.Here's an example of
NSOLID_TAGS
from a live application:cfAppId:[uuid-here],cfAppVersion:[uuid-here],cfSpace:development
The text was updated successfully, but these errors were encountered: