In this lesson, the following topics are discussed:
- Health Monitoring with SAP Cloud ALM
- Analyze API usage and performance with the build-in: Advanced API Analytics
- Logging with Message Logging Policy
- Inspection
Health Monitoring with SAP Cloud ALM
In the Health Monitoring application, you can check the health of your monitored cloud service and technical systems from an application and customer perspective. Technical metrics are collected regularly and can be used to calculate the overall health of the monitored object. The monitored metrics are defined by the service itself and can differ for each service type.
At the moment, only health monitoring with the SAP Cloud ALM solution is possible.
Analyze API usage and performance with the build-in Advanced API Analytics
Advanced API Analytics brings to you an all-new analytics dashboard, providing powerful tools and in-depth reports for analyzing your API usage and performance. The reports are categorized across report pages, with each report page providing information about key API metrics, which are relevant for both business users and API developers.
Navigate to Monitor → APIs. The Dashboard opens.
There are many views and setting options to visualize relevant information.
Logging with Message Logging Policy
If you want to use a logging solution, the SAP API Management lets you send syslog messages to the third-party log management service. If you want to send syslog to a third-party service, follow the service documentation.
Third-party log management services are as follows:
- Splunk
- Sumo Logic
- Loggly
- Others
A sylog message contains the following elements and attributes of Request and/or Response depending on the place at the flow.
- Message ( Payload)
- Host
- Port
- Protocol
As a result, the following screenshot shows the use of Splunk:
Resources
- Health Monitoring with SAP Cloud ALM
- Read more here: Health Monitoring.
- Read more here: Supported Solutions.
- Analyze API usage and performance with the build-in Advanced API Analytics
- Read more here: Analyze APIs.
- Logging with Message Logging Policy
- Read more in a blog to use Splunk and Message Logging Policy: Splunk – Part 1: SAP APIM Logging & Monitoring | SAP Blogs.
- Read more in a blog to use Loggly and Message Logging Policy: Part 7 – API Security Best Practices – Log all API interactions | SAP Blogs.
- Read more about the Message Logging Policy: Message Logging Policy.
- Inspection
- Read more in a blog to use: Inspecting and Understanding Resource Consumption ... - SAP Community
- Read more at help.sap.com: Inspect Resource Consumption for Individual Integration Flow | SAP Help Portal
Summary
Metrics, usage, and performance of individual API calls can be examined on the one hand with the build-in Advanced API Analytics and on the other hand with the SAP Cloud ALM product. Logging of the communication parameters and payload is done with the Message Logging Policy. It compiles the corresponding data and uses an external solution, such as Loggly or others, to visualize it.