Skip to Content
Technical Articles
Author's profile photo Nikola Simeonov

Use SAP Monitoring Service to Retrieve Metrics from Different Java Applications in the Neo Environment


You can use SAP Monitoring service to receive states and metrics of Java applications as well as of the applications’ processes. These Java applications can be in different subaccounts or even on different hosts (regions). For more information about the currently supported regions and their hosts, see Regions and Hosts Available for the Neo Environment.

The only requirement is that your user is a member of the subaccounts that the Java applications are located in. For more information about how to check subaccount memberships, see Add Members to Your Neo Subaccount.

To achieve this, you only need to develop a custom dashboard application that will display the metrics you need in the way you prefer. You can also use this application in your corporate network or in the SAP BTP network. Furthermore, you can choose your own UI technology for this dashboard application. For example, you can use SAPUI5 or SAP Fiori.


Process Flow

The communication between your dashboard application and SAP Monitoring service works as follows:

  1. An operator accesses a dashboard application in the web browser.
  2. The dashboard application requests metrics of a Java application from SAP Monitoring service with a REST API call. For more information about the REST call, see Metrics API.
  3. SAP Monitoring service sends back a JSON response with a status code 200 OK. The response contains the state and metrics of the requested application.
  4. The dashboard application parses the JSON response and places the metrics in a list.
  5. The dashboard application requests the metrics of other Java applications by repeating steps 1 to 5.
  6. The dashboard application’s UI uses the list with metrics to display those metrics in the browser.



Donna Moore, as an operator of Company A, would like to use a central application to monitor the company’s Java applications and their processes. Company A is located in Europe, but it has a subsidiary in the United States (us1 region). Furthermore, the company uses the following Java applications:

  • app1 an application created for a1 subaccount and used in the Europe (Rot/Germany) region.
  • app2 an application created for a2 subaccount and used in the US East (Ashburn/VA) region.

For that purpose, Donna asks her developers to implement a dashboard application according to the instructions in Tutorial: Implementing a Dashboard Application



This blog describes a scenario in which you retrieve metrics of Java applications running on SAP BTP. However, your scenario might also include components from other platforms such as on-premise systems, other cloud systems, or public services. In that case, you can extend the dashboard application or your company tool to show the necessary metrics for such a scenario.


More Information

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Vsevolod Obolenskiy
      Vsevolod Obolenskiy

      Hello Nikola,

      Do you know if this is also possible in Cloud Foundry environment?

      Kind regards,


      Author's profile photo Nikola Simeonov
      Nikola Simeonov
      Blog Post Author

      Hi Vsevolod,

      No, unfortunately you can't use this dashboard application in the Cloud Foundry environment.