SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Implement a Dashboard Application for Monitoring Java Apps

Create an application that retrieves metrics for Java applications running in SAP BTP, Neo environment.

Overview

🎓 beginner 30 min. SAP Business Technology PlatformBeginnerJava

You will learn

  • โœ”How to configure a custom application that retrieves metrics for Java applications running in the Neo environment.
Nikola Simeonov N Nikola Simeonov July 14, 2023
Created by July 14, 2023
Contributors

Prerequisites

Prerequisites

Steps

Intro

The application you create shows the states of the Java applications and can also show the state and metrics of the processes running on those applications.

This tutorial uses a Java project published on GitHub. This project contains a dashboard application that requests the metrics of the following Java applications (running in SAP BTP, Neo environment):

  • app1 located in a1 subaccount and Europe (Rot/Germany) region

  • app2 located in a2 subaccount and US East region

After receiving each JSON response, the dashboard application parses the response and retrieves the name and state of each application as well as the name, state, value, thresholds, unit, and timestamp of the metrics for each process. The data is arranged in a list and then shown in the browser as a dashboard.

For more information about the JSON response, see SAP Monitoring Service Response for Java Applications.

To learn more about the whole scenario, read the Dashboard Scenario blog post.


Step 1 Download the project
โ€”

Download the cloud-metrics-dashboard project as a ZIP file from https://github.com/SAP/cloud-metrics-dashboard.

Step 2 Import into Eclipse
+
Step 3 Update Configuration.java
+
Step 4 Test your scenario
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Download the project 2. Import into Eclipse 3. Update Configuration.java 4. Test your scenario

Learn more →