This page installs New Relic Observability for SAP - Cloud Edition (NR-OSC) on SAP BTP, applies the required configuration, and verifies telemetry is flowing to New Relic. Expect approximately 2 hours, most of which is BTP provisioning time.
Compatibility and requirements
Supported
- SAP BTP with Cloud Foundry environment enabled
- SAP Cloud ALM
- SAP service types with pre-built dashboards: Business Suite, S/4 HANA, and Cloud Integration applications
Not supported
- BTP Platform APIs, CF APIs, and Native Application APIs
You need
- BTP Global Admin access — to assign sub-account entitlements
- BTP Sub-Account Admin access — for Cloud Foundry setup and NR-OSC deployment
- Cloud ALM BTP Sub-Account Admin access — to create the Cloud ALM API service instance
- A New Relic and account ID
- NR Cloud Solution ZIP file (
.mtar) — contact your New Relic account executive - Bash terminal with internet access
Install required tools
Cloud Foundry CLI
Install the latest version of Cloud Foundry CLI (minimum v8).
If you don't already have Homebrew, install it:
bash$/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"If the installer provides "Next steps" commands to add Homebrew to your PATH, run them:
bash$echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile$eval "$(/opt/homebrew/bin/brew shellenv)"Restart the terminal, then verify:
brew --versionInstall CF CLI:
bash$brew trust --formula cloudfoundry/tap/cf-cli$brew install cloudfoundry/tap/cf-cli@8$brew link cloudfoundry/tap/cf-cli@8Verify:
cf version
- Download the Windows 64-bit installer from the CF CLI GitHub releases page.
- Extract the ZIP and run the
.exeinstaller. - Verify:
cf --version
MTA build plugin
$cf install-plugin multiappsIf you see a certificate error, run cf install-plugin multiapps -r CF-Community instead.
Configure your BTP sub-account
Provision a dedicated BTP sub-account for NR-OSC, then configure Cloud Foundry within it.
Assign entitlements
Ask your BTP Global Administrator to assign the following entitlements to the sub-account:
重要
Allocate 1 quota for each service/space combination, except PostgreSQL, Storage plan, which requires 2 quota. If you need Multi-Zone Availability for PostgreSQL, allocate a minimum of 4 quota.
| Entitlement | Plan |
|---|---|
| Cloud Foundry Environment | Standard |
| XSUAA | Application |
| Destination Service | Lite |
| Connectivity Service | Lite |
| Credential Store | Standard |
| PostgreSQL, Hyperscaler Option | Standard |
| PostgreSQL, Hyperscaler Option | Storage |
| Object Store | Standard |
ヒント
NR-OSC deployment creates all service instances automatically — you don't need to create them manually.
ヒント
PostgreSQL on SAP BTP uses mandatory SSL/TLS encryption in transit and encryption at rest via the underlying hyperscaler infrastructure.
Enable the Cloud Foundry environment
- Log in as a sub-account administrator, click Overview, scroll to CF Environment, and click Enable Cloud Foundry.
- Select service Cloud Foundry Runtime, plan Standard. Accept the cost implications and provide a CF instance name and org name.
Provisioning takes approximately 15 minutes. The instance appears under Instances and Subscriptions > Environments when ready.
Create a space and configure quotas
Go to Cloud Foundry > Spaces and click Create Space. Name it
PRD(or per your org standards) and assign all space roles to the installer.Go to Org Members and add any additional users with the Org Manager role.
Go to Space Quotas, click Create Space Quota, and set:
Property Value Space Memory (MB) 10240 (10 GB) Routes 1000 Service Instances 1000 Memory per Instance (MB) 16384 App Instances 1000 Allow Paid Services On Go to Quota Assignments, edit your space, change from Org Quota to Space Quota, select your new quota, and save.
Configure landscape access
Set up a Cloud ALM API service instance and a BTP Destination Service entry so that the NR-OSC collection engine can authenticate to your SAP landscape.
Create a Cloud ALM API service instance
In the Cloud ALM sub-account, ask your BTP Global Administrator to assign the entitlement for SAP Cloud ALM API with plan Standard.
Go to Instances and Subscriptions > Create and configure:
- Service: SAP Cloud ALM API
- Plan: Standard
- Runtime Environment: Cloud Foundry
- Space: check with your BTP administrator
- Instance Name: per your org standards
On the parameters tab, paste the JSON from SAP Managing Scopes. Update
xsappnamewith your instance name.重要
Remove all scopes ending in
writeordelete. Keep onlyreadscopes — for example,$XSMASTERAPPNAME.calm-api.landscape.read.{"xs-security": {"xsappname": "<your-instance-name>","authorities": ["$XSMASTERAPPNAME.calm-api.analytics.providers.read","$XSMASTERAPPNAME.calm-api.analytics.read","$XSMASTERAPPNAME.calm-api.landscape.read","$XSMASTERAPPNAME.calm-api.metrics.read","$XSMASTERAPPNAME.calm-api.logs.read","$XSMASTERAPPNAME.calm-api.traces.read"],"oauth2-configuration": {"credential-types": ["binding-secret"]}}}Click Create. Once the instance appears under the Instances tab, click the ellipsis (
...) > Create Service Key. Set Key Type toClientId/Secret, create it, then download the JSON file. Store it securely — you'll need the credentials in the next step.
Create the Destination Service entry
重要
Name the destination exactly NR_CALM_DESTINATION. Any other name prevents data collection.
In the NR-OSC deployment sub-account, confirm your user has the Destination Administrator and Subaccount Administrator role collections assigned.
Go to Connectivity > Destinations > Create > Create New Destination From Scratch.
Enter these properties using values from the service key:
Property Value Name NR_CALM_DESTINATIONType HTTP Authentication OAuth2ClientCredentials Proxy Type Internet Token Service URL Type Dedicated Client ID clientIdfrom service keyClient Secret clientSecretfrom service keyURL endpoints.Apifrom service key — omit the trailing/apipathToken Service URL uaa.urlfrom service key +/oauth/tokenClick Create, then click Check Connection to verify.
If the connection check fails, verify the URL and Token Service URL values against the service key, paying close attention to path adjustments. If the values look correct, consult your network or security team.
Deploy NR-OSC
Download the
.mtarinstallation file provided by your New Relic account executive.Log in to Cloud Foundry. Find your API endpoint in the Overview tab of your BTP sub-account:
bash$cf login -a <your-api-endpoint>Confirm you have the correct org and space:
bash$cf targetDeploy:
bash$cf deploy <path-to-mtar-file> -e config.yamlDeployment takes approximately 30 minutes.
If the deployment fails, retrieve the logs using the
operation_idshown in terminal output:cf dmol -i <operation_id>. Correct the error and redeploy.Verify the deployment by confirming these service instances exist under Instances and Subscriptions > Instances:
nr-sap-destination,nr-sap-postgres,nr-sap-uaa,nr-sap-connectivity,nr-sap-credstore.
Enable Multi-Zone Availability for PostgreSQL (optional)
If your environment requires Multi-Zone Availability (MZA) for the PostgreSQL database, complete these steps before continuing. Confirm you have sufficient entitlements for the PostgreSQL Standard and Storage plans (minimum 4 quota each).
- Go to Instances and Subscriptions > Instances and select the PostgreSQL, Hyperscaler Option instance.
- Click the ellipsis (
...) at the top right and select Update. - On the pop-up, click Next and open the Parameters tab.
- Check Multi AZ and click Update Instance.
Assign role collections
Go to Security > Users and assign NR_Administrator to the user performing initial configuration.
Wait a few minutes, then log out and log back in to the BTP account for the role to take effect.
Pre-delivered role collections:
Role collection Access NR_AdministratorFull configuration and management access NR_DPAdminData provider configuration access NR_PromotionAdminsService type and system activation approval NR_ViewerRead-only access
Access the web application
- Go to Cloud Foundry > Spaces > PRD > nr-sap-web-application.
- Under Mapped Routes, click the application URL and bookmark it.
- Log in using your identity provider (prompted on first visit).
Complete initial setup
The Set Up Observability for SAP - Cloud Edition wizard opens on first login:
Enter your New Relic Account ID and Ingest License Key. Select the OTLP Endpoint matching your geographic location. Click Save & Continue.
If you see a roles error, verify your role assignment and wait a few more minutes before retrying.
Click Sync Landscape to discover all SAP systems and services from Cloud ALM.
Once complete, go to Configuration > Systems and Services. Discovered systems are grouped by service type under two tabs:
Tab Description Observed Service types with pre-built New Relic dashboards. Enable data collection directly. Observable Data collection possible; configure data providers first. Contact your New Relic team for enablement and custom dashboards.
Enable monitoring
All data collections are inactive by default. Enable collection at the service type level first, then at the system level.
重要
You can enable collection only for service types under the Observed tab without additional configuration. For Observable service types, configure data providers first — see Configure data providers.
Go to Configuration > Systems and Services.
Find the service type you want to monitor and toggle the slider under Collection.
Click the service type name to view its systems. Enable individual systems or use bulk selection. For systems with multiple logical clients, all clients' data is collected.
Enabling a service type or system enters a Staged (Pending Approval) state. A user with the NR_PromotionAdmins role must approve the change at Operations > Promotions before collection begins.
Verify your install
- From the left panel, go to Runtime > Collection Runs and click Start.
Within ~5 minutes of starting the collection engine, you should see:
- Collection Runs shows at least one successful run in Recent Runs
- Runtime > Collection STATS > Data Volume shows non-zero values for enabled telemetry types
- Pre-built SAP dashboards appear in New Relic under one.newrelic.com → Dashboards for your SAP service type
If you don't see data within ~10 minutes, see troubleshooting.