Stay organized with collections
Save and categorize content based on your preferences.
This document describes how you show annotations for events that occur in your SAP
systems or the underlying infrastructure, on Cloud Monitoring dashboards and
predefined observability dashboards.
Viewing event annotations on Monitoring or observability dashboards can help you
correlate the events with issues that you might experience in your
SAP systems. For more information about event annotations, see
About event annotations.
From version 3.7, Google Cloud's Agent for SAP automatically keeps track of certain
changes in your SAP systems and the underlying infrastructure. For example, the
agent tracks if the SAP HANA database in your SAP system stops or restarts, if
the underlying Compute Engine starts or restarts. The agent's
integration with Cloud Logging and Monitoring lets you show
these events as annotations on Monitoring or
predefined observability dashboards.
Supported SAP event types
The following table describes the SAP event types that you can show as
annotations on Monitoring or predefined observability dashboards:
Event type
Description
SAP Availability
Provides information about the status of the following resources
whenever they stop, start, or face any errors: SAP HANA, SAP NetWeaver,
and the nodes and resources in Pacemaker-managed Linux high-availability (HA) clusters.
Showing events of this type as annotations requires
Google Cloud's Agent for SAP to collect the following
Process Monitoring metrics:
sap/hana/service
sap/hana/availability
sap/nw/service
sap/nw/availability
sap/cluster/nodes
sap/cluster/resources
SAP Backint
Provides information about Backint based backup and recovery
operations.
Showing events of this type as annotations requires
Google Cloud's Agent for SAP to collect the Backint metrics. For information
about these metrics, see
Backint metrics collection.
SAP Operations
Provides information about the status of data replication in SAP HANA
high-availability (HA) systems.
Showing events of this type as annotations requires
Google Cloud's Agent for SAP to collect the following
Process Monitoring metric: sap/hana/ha/replication.
Configure the Agent for SAP
To show SAP events as annotations on Monitoring or predefined
observability dashboards, you need to install Google Cloud's Agent for SAP and
configure it to emit the required set of metrics.
To do this, complete the following steps:
Make sure that version 3.7 or later of Google Cloud's Agent for SAP is installed
on the Compute Engine instances that host the SAP systems that you
want to monitor.
Enable the collection of the required types of metrics.
For information about the metrics that are required for the supported SAP
event types, see Supported SAP event types.
Show SAP events on a dashboard
In the Google Cloud project where events need to be shown on dashboards,
grant the required IAM roles or permissions to the users who
need to view and show the SAP events on dashboards.
For information about the required IAM roles and permissions,
see the "Before you begin" section in
Show events on a dashboard.
Configure the Monitoring dashboard or predefined observability
dashboard to show the required SAP events.
For information about how to configure the dashboard, see the
"Show events" section in
Show events on a dashboard.
For information about the SAP event types that you can show as annotations on
dashboards, see
Supported SAP event types.
View SAP event details
When you view a chart on a dashboard, you see the selected SAP events when
they occur in your SAP system. You can view additional information about that
event by clicking the View button.
For more information about viewing event details, see the "View event details"
section in the Show events on a dashboard.
The following example images show SAP events as annotations on dashboards:
The following example image shows events of types SAP Availability and
SAP Operations that get triggered after a failover occurs in the
Pacemaker-managed high-availability (HA) cluster, which includes the following:
Moving the SAP HANA database from the primary node of the cluster to the
secondary node.
Reconnecting the old primary node as the secondary node in the cluster.
Enabling SAP HANA System Replication between the primary and secondary
nodes in the cluster.
The following example image shows events of type SAP Backint that get
triggered after the successful creation of a
Backint
based backup the SAP HANA data volume and partitions. The event annotation provides
information about the throughput and size of the backup.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Show SAP events on Cloud Monitoring dashboards\n\nThis document describes how you show annotations for events that occur in your SAP systems or the underlying infrastructure, on Cloud Monitoring dashboards and predefined observability dashboards.\n\n\u003cbr /\u003e\n\nViewing event annotations on Monitoring or observability dashboards can help you\ncorrelate the events with issues that you might experience in your\nSAP systems. For more information about event annotations, see\n[About event annotations](/monitoring/dashboards/show-events#about_event_annotations).\n\nFrom version 3.7, Google Cloud's Agent for SAP automatically keeps track of certain\nchanges in your SAP systems and the underlying infrastructure. For example, the\nagent tracks if the SAP HANA database in your SAP system stops or restarts, if\nthe underlying Compute Engine starts or restarts. The agent's\nintegration with Cloud Logging and Monitoring lets you show\nthese events as annotations on Monitoring or\npredefined observability dashboards.\n\nSupported SAP event types\n-------------------------\n\nThe following table describes the SAP event types that you can show as\nannotations on Monitoring or predefined observability dashboards:\n\nConfigure the Agent for SAP\n---------------------------\n\nTo show SAP events as annotations on Monitoring or predefined\nobservability dashboards, you need to install Google Cloud's Agent for SAP and\nconfigure it to emit the required set of metrics.\n\nTo do this, complete the following steps:\n\n1. Make sure that version 3.7 or later of Google Cloud's Agent for SAP is installed\n on the Compute Engine instances that host the SAP systems that you\n want to monitor.\n\n For information about how to install the agent, see\n [Install and configure Google Cloud's Agent for SAP on a Compute Engine instance](/sap/docs/agent-for-sap/latest/install-config-on-vm).\n For information about how to update the agent, see\n [Update Google Cloud's Agent for SAP](/sap/docs/agent-for-sap/latest/operations#agent4sap-update).\n2. Configure the agent as follows:\n\n - Set the `log_to_cloud` configuration property of the agent to the value\n `true`.\n\n To set this value, connect to your Compute Engine instance by using\n SSH and then run the following command: \n\n ```\n sudo /usr/bin/google_cloud_sap_agent configure -setting=log_to_cloud -enable\n ```\n - Enable the collection of the required types of metrics.\n\n For information about the metrics that are required for the supported SAP\n event types, see [Supported SAP event types](#supported_sap_event_types).\n\nShow SAP events on a dashboard\n------------------------------\n\n1. In the Google Cloud project where events need to be shown on dashboards,\n grant the required IAM roles or permissions to the users who\n need to view and show the SAP events on dashboards.\n\n For information about the required IAM roles and permissions,\n see the \"Before you begin\" section in\n [Show events on a dashboard](/monitoring/dashboards/show-events).\n2. Configure the Monitoring dashboard or predefined observability\n dashboard to show the required SAP events.\n\n For information about how to configure the dashboard, see the\n \"Show events\" section in\n [Show events on a dashboard](/monitoring/dashboards/show-events).\n\n For information about the SAP event types that you can show as annotations on\n dashboards, see\n [Supported SAP event types](#supported_sap_event_types).\n\nView SAP event details\n----------------------\n\nWhen you view a chart on a dashboard, you see the selected SAP events when\nthey occur in your SAP system. You can view additional information about that\nevent by clicking the **View** button.\n\nFor more information about viewing event details, see the \"View event details\"\nsection in the [Show events on a dashboard](/monitoring/dashboards/show-events).\n\nThe following example images show SAP events as annotations on dashboards:\n\n- The following example image shows events of types **SAP Availability** and\n **SAP Operations** that get triggered after a failover occurs in the\n Pacemaker-managed high-availability (HA) cluster, which includes the following:\n\n - Moving the SAP HANA database from the primary node of the cluster to the secondary node.\n - Reconnecting the old primary node as the secondary node in the cluster.\n - Enabling SAP HANA System Replication between the primary and secondary nodes in the cluster.\n\n- The following example image shows events of type **SAP Backint** that get\n triggered after the successful creation of a\n [Backint](/sap/docs/agent-for-sap/latest/backint-backup-recovery)\n based backup the SAP HANA data volume and partitions. The event annotation provides\n information about the throughput and size of the backup."]]