Contact Us

SAP BTP, Cloud Foundry environment

This page explains how to connect SAP BTP, Cloud Foundry environment to SAP Focused Run. For the setup of the supported monitoring applications, please click on the monitoring application below.

Currently, the following monitoring applications are supported for SAP BTP, Cloud Foundry environment:

Setup Steps in SAP BTP, Cloud Foundry environment

Setup Steps to Enable Exception Monitoring for Alert Notifications via ANS

Enable SAP Business Technology Platform Alert Notifications

Receiving alert notifications is done via the Alert Notification Service which can be enabled for your SAP Business Technology Platform account. 

Important: Please be aware that the use of this service is quota based (billable)!

To enable the service please follow the documentation:

Create Service Key

To authenticate towards the service you have to create an service key for the Alert Notification service instance in SAP Business Technology Platform

  1. Go to SAP BTP Cockpit 
  2. Select your sub-account
  3. Go to 'Instances & Subscriptions'
  4. Select the Alert Notification Service instance
  5. Navigate to Service Keys → Create Service Key
  6. Download the service key

Create Custom Alerts

SAP Cloud Foundry doesn't have any available event that come out of the box. Hence to actually receive alerts from application in SAP Cloud Foundry you have to implement the alert creation in your application.

Find more information here:

 
 

Setup Steps to Enable Monitoring for Customer-built BTP Applications

As of SAP Focused Run 4.0 FP02, Health MonitoringException Monitoring, and Real User Monitoring can collect OpenTelemetry metrics sent via the OpenTelemetry@SAP infrastructure. These metrics are created in applications built by customers running in SAP BTP Cloud Foundry, after the application has been properly instrumented. 

To enable SAP Focused Run to receive OpenTelemetry metrics for cloud services you need to activate OpenTelemetry via the SAP Focused Run Reverse Proxy using SAP Cloud ALM. Please follow the following setup document to do this:

To enable your custom SAP BTP application to send OpenTelemetry metrics you have to instrument it. You can find information on how to instrument your custom SAP BTP application to send OpenTelemetry metrics to SAP Cloud ALM here:

The setup in the custom SAP BTP application is identical for SAP Cloud ALM and SAP Focused Run. The data routing infrastructure inside SAP Cloud ALM makes sure that the metrics are sent to the correct receiver. 

Setup Steps in SAP Focused Run

The following steps are only necessary if you want to use Exception Monitoring to monitor Alert Notifications from the ANS. To monitor your customer-build BTP applications the endpoint creation is not necessary. 

Input Values for SAP BTP, Cloud Foundry environment

  • Environment: Cloud Foundry
  • Account: Your account ID
  • Root Account URL:
    • Cloud Foundry: "url" value of the service key

  • Global:
    • API Type: Alert Notifications
    • API Root URL: "url" value of the service key
    • Description: A meaningful description
  • Authentication:
    • Type: OAUTH
    • OAuth URL: "oauth_url" of the service key
    • Client ID: "client_id" of the service key
    • Client Secret: "client_secret" of the service key
  • Section 'Proxy':
    • If necessary add proxy information to connect to the cloud service