Organize your Cloud Foundry foundations with management zones (Beta)

We’re thrilled to announce that Dynatrace now automatically detects the organizations that are related to your Cloud Foundry foundations. The Cloud Foundry organization property exists on the process level with the other Cloud Foundry properties that Dynatrace detects automatically: space, space ID, application, application ID, and instance index.

Cloud Foundry organizations

Set up management zones for Cloud Foundry organizations

Management zones are a powerful Dynatrace information-partitioning mechanism that promotes collaboration and the sharing of relevant team-specific data while simultaneously ensuring secure access control. Each customizable management zone is comprised of a set of monitored entities in your Dynatrace environment. Now you can create management zones that represent your Cloud Foundry organizations, including any associated applications that are hosted by these organizations.

Cloud Foundry organizations

Once you create organization-specific management zones for your Cloud Foundry foundations, those management zones are made available as dashboard filters (see example below). Just select the appropriate management zone from the list to focus on a specific Cloud Foundry organization.

Cloud Foundry organizations

Management zone filters apply to all views that display multiple entities, including dashboards, list pages (Hosts, Process groups, Services, and Applications list pages), Smartscape topology, and the Technologies page. This means that a user with permission to view a certain management zone can only view the monitoring data of the specific entities that are contained within that management zone. You can even define which user groups should have access to the specific management zones you define for your Cloud Foundry organizations.

Create tags and naming rules for Cloud Foundry organizations

You can leverage the Cloud Foundry organization property for more than just setting up Management zones. You can also define auto-tagging rules based on the Cloud Foundry organization property (for example, to tag all processes and services related to an application living in a specific Cloud Foundry organization). Further, you can apply naming schemes to entities like hosts, process groups, and services that are based on the Cloud Foundry organization property.

For comprehensive guidelines on organizing monitored entities in Dynatrace, please refer to Dynatrace Help.

Connect your Cloud Foundry foundation (beta)

To connect your Cloud Foundry foundations to Dynatrace and leverage automatic detection of the organizations that relate to your foundations, you need to install an ActiveGate (version 1.151 or higher) in combination with Dynatrace SaaS version 1.152 or higher. To enable this new feature within your ActiveGate configuration, you need to adapt your custom.properties file and add the following configuration:

[cloudfoundry_monitoring]
cloudfoundry_monitoring_enabled = true
cloudfoundry_oauth_client_id = cf
cloudfoundry_oauth_client_user = cf
cloudfoundry_oauth_client_password =

Please note, adapting the configuration of your ActiveGate will only be necessary during the Beta phase of this feature.

Following restart of the ActiveGate service, you can connect your Cloud Foundry foundation. To do this, go to Settings > Cloud and virtualization > Cloud Foundry and click Connect new foundation. Type in your Cloud Foundry API target URL, your Authentication endpoint, your Cloud Foundry Username, and Password .

Cloud Foundry foundations

Dynatrace queries the following Cloud Foundry API endpoints to detect the organization property and attach it to related process groups:

v2/organizations
v2/organizations/<orgid>/spaces
v2/spaces/<spaceid>/apps

Please note, during the Beta phase of this feature, Dynatrace supports querying up to 100 organizations per Cloud Foundry foundation.

Please also refer to Dynatrace Help for guidelines on connecting your Cloud Foundry foundations to Dynatrace.

What’s next?

With the ability to connect your Cloud Foundry foundations to Dynatrace now in Beta status, beginning with ActiveGate version 1.151 and Dynatrace Cluster version 1.152 you are able to benefit of the Cloud Foundry organization property within all your Dynatrace environments. This capability is the first step toward a dedicated Cloud Foundry overview page, which we plan to release soon.

Your feedback

We’d love to know more about how you use the Cloud Foundry organization property to manage your Cloud Foundry foundations with Dynatrace. Please share your feedback with us at Dynatrace Answers.

Stay updated