Forwarding Insights Metrics to SAP Cloud ALM

You can forward the metrics Insights collects from your event broker services to SAP Cloud Application Lifecycle Management (ALM). Forwarding your event broker service metrics to SAP Cloud ALM allows you to centralize data collection alongside any other data you collect from your SAP infrastructure or systems within a single observability platform. Having your data centralized in SAP Cloud ALM allows your application teams to make sense of it with tools they are already familiar with. For more information, see SAP Cloud ALM.

When you configure forwarding of event broker service metrics to SAP Cloud ALM you also automatically configure Health Monitoring. Health Monitoring causes Insights to send a connectivity and health status check to SAP Cloud ALM every five minutes. The check validates the connection between Insights and SAP Cloud ALM, determining whether the event broker service metrics can be trusted and shown in SAP Cloud ALM. For more information, see Understanding SAP Cloud ALM Health Monitoring.

Before configuring the forwarding of metrics to SAP Cloud ALM, review the Considerations for Forwarding Metrics to SAP Cloud ALM.

Forwarding your metrics to SAP Cloud ALM in addition to Insights requires that you configure your SAP Cloud ALM connection details in the Cloud Console.

When you need to update your SAP Cloud ALM credentials, you can edit your SAP Cloud ALM connection details.

If you no longer need to forward your metrics to SAP Cloud ALM, you can delete your SAP Cloud ALM connection details.

Considerations for Forwarding Metrics to SAP Cloud ALM

Be aware of the following considerations when configuring forwarding of metrics to SAP Cloud ALM:

  • You must have an active SAP Cloud ALM subscription. For more information, see Requesting SAP Cloud ALM.

  • You must have access to the Cloud Console with the Account Administrator role to configure forwarding of metrics to SAP Cloud ALM.

  • Forwarding metrics to SAP Cloud ALM requires one of the following event broker service versions:

    • 10.11.1.296-13 or later

    • 10.25.0.168-32 or later

    • 10.25.14.4380-31 or later

  • You must have an SAP Cloud ALM service key (in JSON format). The service key contains the OAuth2 credentials required to authenticate and forward metrics to your SAP Cloud ALM account. For more information, see Retrieve SAP Cloud ALM Service Key.

  • If your SAP Cloud ALM account was created before June 14, 2023, you must perform extra steps when generating your SAP Cloud ALM service key. For more information, see Retrieve SAP Cloud ALM Service Key.

  • Your SAP Cloud ALM service key must be added to the Cloud Console manually. The service key cannot be automatically synchronized with SAP systems. For more information, see Configuring Forwarding of Metrics to SAP Cloud ALM.

  • Enabling the forwarding of metrics to SAP Cloud ALM affects all event broker services in your organization.

  • Enabling the forwarding of metrics to SAP Cloud ALM disables Insights notifications from SAP. Configuring notifications from SAP Cloud ALM is your responsibility.

  • You are responsible for ensuring that SAP Cloud ALM meets any of your data residency requirements.

  • If you rotate your SAP Cloud ALM credentials, you must manually update the credentials in the Cloud Console. For more information, see Editing SAP Cloud ALM Connection Details.

  • Insights supports forwarding only metrics to SAP Cloud ALM. Forwarding logs to SAP Cloud ALM is not supported.

  • The following metrics are forwarded to SAP Cloud ALM:

    • derived_metrics.vpn.vpn_state

    • message_vpn.vpn.num_queues

    • message_vpn.vpn.maximum_queues_and_topic_endpoints

    • message_vpn.vpn.num_topic_endpoints

    • vpn.connections_service_rest_incoming

    • vpn.connections_service_rest_outgoing

    • vpn.max_connections_service_rest_incoming

    • vpn.max_connections_service_rest_outgoing

    • message_vpn.vpn.current_egress_flows

    • message_vpn.vpn.maximum_egress_flows

    • message_vpn.vpn.current_messages_spooled

    • message_vpn.vpn.current_spool_usage_mb

    • message_vpn.vpn.maximum_spool_usage_mb

    • vpn.connections

    • vpn.max_connections

    Other Insights metrics remain available in your Insights Datadog account. For more information, see Insights Metrics and Checks.

  • Metrics are forwarded to SAP Cloud ALM every five minutes. Insights does not support bulk exports of historical metrics.

  • SAP provides the Insights metrics as-is. It is your responsibility to configure SAP Cloud ALM to use the data.

  • Enabling forwarding of metrics also enables Health Monitoring, causing Insights to a send a health check to SAP Cloud ALM every five minutes. The check allows SAP Cloud ALM to show the metrics by verifying them. If the check becomes disabled, Insights continues to send metrics but they will not appear in SAP Cloud ALM. For more information, see Understanding SAP Cloud ALM Health Monitoring.

Understanding SAP Cloud ALM Health Monitoring

When you configure Insights to forward your event broker service metrics to SAP Cloud ALM, you also configure Health Monitoring. Health Monitoring is required for SAP Cloud ALM to verify the incoming metrics and show them on its dashboards.

Health Monitoring uses the same SAP Cloud ALM connection details you provide when you configure the forwarding of your event broker service metrics. You do not need to perform any additional configuration to enable the Health Monitoring.

How the Health Monitoring Affects Metrics Display

The Health Monitoring status in SAP Cloud ALM determines how the metrics Insights forwards are handled. You can enable or disable Health Monitoring in the Health Monitoring app.

  • Health Monitoring enabled (recommended)—Insights sends a health check every five minutes and SAP Cloud ALM shows your forwarded metrics on its dashboard.

  • Health Monitoring disabled—Insights sends the health check every five minutes, and continues to send metrics; however, SAP Cloud ALM does not display the metrics on its dashboard.

Why Health Monitoring Might Be Disabled

SAP Cloud ALM may disable the Health Monitoring for the following reasons:

  • Storage capacity exhausted—SAP Cloud ALM provides a certain amount of storage capacity per customer by default. If your SAP Cloud ALM storage capacity is exhausted, SAP Cloud ALM automatically disables Health Monitoring. For more information, see Optimize Data Volume in the SAP Cloud ALM - Application Help.

  • Integration manually disabled—You or another administrator manually disabled Health Monitoring in SAP Cloud ALM.

  • Network or authentication issues—Temporary network failures or invalid credentials prevent Insights from successfully connecting to SAP Cloud ALM. If you experience network or authentication issues, verify that your SAP Cloud ALM service key is valid and that there are no network connectivity issues between Insights and SAP Cloud ALM.

Configuring Forwarding of Metrics to SAP Cloud ALM

The first step in forwarding your event broker service metrics to SAP Cloud ALM is entering your SAP Cloud ALM service key into the Cloud Console. Your SAP Cloud ALM service key provides the information required for sending metrics to SAP Cloud ALM. Adding your SAP Cloud ALM service key also enables Health Monitoring with no extra required steps.

To enter your SAP Cloud ALM service key, perform the following steps:

  1. Log in to the Cloud Console if you have not done so yet. The URL to access the Cloud Console differs based on your SAP BTP region. For more information, see Logging In to the Cloud Console.
  2. Click User & Account and select Account Details.
  3. Select Insights Settings.
  4. In the Forward Metrics to SAP Cloud ALM tile, click Manage Connection Details.
  5. On the Enter Connection Details dialog, paste the SAP Cloud ALM service key JSON that you copied from SAP Landscape Management into the available field and click Save Details and Start Forwarding.

    Your SAP Cloud ALM service key JSON must contain all required uaa and endpoint information, including url, sburl, clientid, clientsecret, subaccountid, tenantid, and api properties or you will be unable to save the connection details. To avoid errors when editing information, copy and paste your SAP Cloud ALM service key directly from SAP Landscape Management.

    You are returned to the Insights Settings tab, and the Forward Metrics to SAP Cloud ALM tile shows an enabled icon, indicating forwarding of metrics is enabled.

Editing SAP Cloud ALM Connection Details

To edit your SAP Cloud ALM connection details, perform the following steps:

  1. Log in to the Cloud Console if you have not done so yet. The URL to access the Cloud Console differs based on your SAP BTP region. For more information, see Logging In to the Cloud Console.
  2. Click User & Account and select Account Details.
  3. Select Insights  Settings.
  4. In the Forward Metrics to SAP Cloud ALM tile, click Actions and select Update.
  5. In the Edit Forwarding Destination dialog, update the field as required. To avoid errors when editing information, copy and paste your SAP Cloud ALM service key directly from SAP Landscape Management. Missing information will prevent you from saving changes.
  6. Click Update Destination.

Deleting SAP Cloud ALM Connection Details

You can delete your SAP Cloud ALM connection details at any time. Deleting your connection details stops forwarding your metrics to SAP Cloud ALM.

To delete your SAP Cloud ALM connection details, perform the following steps:

  1. Log in to the Cloud Console if you have not done so yet. The URL to access the Cloud Console differs based on your SAP BTP region. For more information, see Logging In to the Cloud Console.
  2. Click User & Account and select Account Details.
  3. Select Insights  Settings.
  4. In the Forward Metrics to SAP Cloud ALM tile, click Actions and select Delete.