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

Application Health Check

How the Application Health Check works and how you can set it up for your own application

Overview

🎓 beginner 10 min. SAP BTP Cloud Foundry Runtime And EnvironmentBeginnerCloud

You will learn

  • โœ”How Cloud Foundry monitors your apps
  • โœ”How to implement health checks using the Cloud Foundry CLI
Beyhan Veli B Beyhan Veli April 13, 2026
Created by November 26, 2021
Contributors

Prerequisites

Steps

Step 1 Overview of App Health Checks
โ€”

An important requirement for a platform is to ensure that applications remain healthy and in an available state. To this extent, when running applications in the Cloud Foundry Environment, CF is constantly monitoring the state of your applications via Health Checks. There are three types of health checks offered by Cloud Foundry:

  • http health checks perform a GET request to an endpoint
  • port health checks make a TCP connection to the port (or ports) configured for the app. This is the default health check type.
  • process health checks check that a process stays running

For more detailed information about the types of health checks, see Health Check Types.

When configuring a health check you can supply a type, a timeout, and also a custom endpoint if using a http type health check. Supplying each of these is optional, and default values are assigned if not supplied. While the default health checks are useful, they may not be enough for some use cases. Just because you can connect to a port doesn’t mean that other parts of your application are healthy and functioning properly. You may get a response from an http endpoint, but is it the response you were expecting? Your process may run, but the process it forwards data to may not. For these reasons, and more, it is important to look into implementing more sophisticated health checks.

Step 2 The lifecycle of a Health Check
+
Step 3 Configuring a Health Check for an Existing App
+
Step 4 Validate the health check
+

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. Overview of App Health Checks 2. The lifecycle of a Health Check 3. Configuring a Health Check for an Existing App 4. Validate the health check

Learn more →