Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Nikola_Simeonov
Product and Topic Expert
Product and Topic Expert

Overview


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.


 

Example


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

 


Conclusion


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


2 Comments
former_member708468
Participant
0 Kudos
Hello Nikola,

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

Kind regards,

Vsevolod
Nikola_Simeonov
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Vsevolod,

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

 

Sincerely,

Nikola