Document toolboxDocument toolbox

SAP Cloud ALM Metrics for CPI

Overview

The SAP CPI Cloud ALM Metrics Input collects CPI metrics from SAP CALM systems. SAP CALM has access to technical metrics that are not available directly from the CPI platform. This input collects these metrics and allows for correlation with the other datasets collected directly from CPI, enabling comprehensive monitoring and analysis.

Data Collected

SAP CPI CALM Metrics input collects the following metrics:

  • Datastore Usage

    • Tracks the utilization of data storage within CPI.

    • Provides insights into storage consumption trends and capacity planning.

  • Database Usage

    • Monitors the volume of data stored and queried within the database.

    • Helps identify inefficiencies in database operations and potential performance bottlenecks.

  • Database Connection Usage

    • Measures the number of active database connections.

    • Useful for ensuring the system does not exceed connection limits, which could impact performance or cause downtime.

  • Database Transaction Duration

    • Tracks the time taken to complete database transactions.

    • Provides visibility into transaction performance and identifies potential delays.

Use Cases

  1. Capacity Monitoring

    • Monitor datastore and database usage to ensure sufficient resources are available to handle current and future workloads.

  2. Performance Optimization

    • Use metrics like transaction duration and connection usage to optimize database operations and prevent slowdowns or failures.

  3. Troubleshooting and Root Cause Analysis

    • Analyze database metrics to pinpoint issues affecting integration performance, such as slow transactions or over-utilized connections.

  4. Proactive Alerting

    • Set thresholds for metrics such as connection usage or datastore utilization to receive alerts before critical limits are reached.Status

Status

Available

Configuration

Retrieving SAP Cloud ALM service key details

  • Log on to the SAP BTP cockpit.

  • Click on your SAP Cloud ALM global account, then on your SAP Cloud ALM sub-account.

  • In the navigation panel, choose Services > Instances and Subscriptions.

  • Under Instances click on the relevant instance of the service SAP Cloud ALM API

  • In the area that opens, choose Service Keys.

  • You see your service key in JSON format. The key includes the application URL, service URL, client ID, and client secret.

  • Note down the endpoint api, identityzone (tenant name), url, client id and client secret

    image-20250108-043455.png

Adding a CPI CALM Metrics Input in PowerConnect Cloud

  • Login to the PowerConnect Cloud web UI

  • Click on the Inputs link in the menu bar

  • Click the + button to add a new Input

  • Select CALM

  • Select metrics under sap-cpi

  • Fill out the details of you SAP CALM tenancy where:

  • Choose the Output you wish to send the CPI Runtime Artifact data to

  • Click Save

  • The Input is now created

Configuration Options

Configuration

Description

Required

Default Value

Comments

Configuration

Description

Required

Default Value

Comments

How frequently to poll for new data in seconds

How often the input will check for new metrics

True

60

 

Unique Identifier for the Input

A unique ID for the input

True

 

Spaces are not allowed

Friendly name for the Input

Friendly name for the input

True

 

 

System ID

System ID (or SID) of the system. The value of this field will be mapped to the source field in Splunk/Dynatrace and is used in dashboards for grouping related system events

True

 

 

Lag in Seconds

How far behind the input will lag in seconds

True

60

This setting is to deal with SAP APIs that sometimes lag behind under high load

Enable Data Collection

Enable / Disable the Input

True

True

 

SAP CALM Tenant URL

The SAP Cloud ALM tenant url

True

 

 This is the base tenant url without the path

SAP CALM Token URL

The SAP Cloud ALM token URL

True

 

 Must include /oauth/token

Client ID

API Client ID

True

 

 

Client Secret

API Client Secret

True

 

 

CPI Service ID (LMS ID)

The Landscape ID of the CPI tenancy you wish to monitor in SAP CALM

True

 

Â