Time Series Data Ingestion Monitoring
Overview
Description
The monitoring-dataingestion-sap application facilitates monitoring the health of various components and microservices of the ingestion pipeline. This application is meant only for the monitoring usage by the Development Operations and Developer on Duty team. This is not meant for the end-users. The monitoring APIs can be broadly classified in the following categories:
-
Kafka: Provides deeper insights on Kafka topics, messages, and all relevant metadata.
-
Spark: Monitors context specific and aggregated health of spark jobs.
-
Cold store writer: Provides insights to the number of messages already synced, yet to be synced, or expired in terms of archival timeseries data to cold store.
-
Data transfer engine: Monitors ingestion delay monitor runners. Provides monitoring capabilities for the configured tenants that have opted for cloud-delay monitoring.
-
Cassandra error store: Provides wrapper of Cassandra cql to give REST interface on top of Cassandra error store.
Artifacts
This component consists of the following artifacts:
| Name | Description | BCP Component |
|---|---|---|
| monitoring-dataingestion-sap | This application is meant only for monitoring usage by the Development Operations team. This is not meant for end-users. This application facilitates the monitoring of spark job, coldstore writer, kafka, and so on. | IOT-BSV-BDI |
| Artifact | Requirements |
|---|---|
| monitoring-dataingestion-sap | Memory 2GB |
Documentation
Operations
Availability Checks
The following table gives you an Overview of the general purpose of the various availability checks, followed by a list of links that point directly to the check results for the various artifacts and locations:
| Check | Purpose |
|---|---|
| L3 | Direct ping against the application. Shows whether the application is up and running. |
| L3+ | Ping against the application via the app router. Can reveal app router-related problems. |
| L4 | Requests some data from the application via the app router. Involves HANA interaction. Shows issues with the SAP HANA database. |
| L5 | Shows problems with tenant onboarding in the business partner during the last hour. |
Kibana
Authorization (Cloud Access Manager (CAM) profile): CP IoTAE MoD/DoD Auditor Production
From the Kibana dashboard, set up a filter based on a condition like the following example:
{
"query": {
"wildcard": {
"component_name": {
"value": "monitoring-dataingestion-sap*"
}
}
}
}
| Landscape | Entry Point |
|---|---|
| EU10 | |
| US10 |
Dynatrace
Dynatrace Performance Monitor
| Landscapte | Entry Point |
|---|---|
| EU10 | |
| US10 |
n/a |
Grafana
| Landscapte | Entry Point |
|---|---|
| EU10 | |
| US10 |
n/a |
Application Logs Available to Customers
n/a
Miscellaneous
n/a
Others
You can access the Data Ingestion dashboard via this https://<tenant-name>.iot-sap.<domain>/di-monitor/index.html. For example, the URL for the EU10 landscape is https://sap-iotaemonitoring.iot-sap.cfapps.eu10.hana.ondemand.com/di-monitor/index.html.
This dashboard describes the following information:
-
Coldstore writer summary
-
Offset lags by partition
-
Spark job summary
Login: This application is designed to work only with the credentials of tenant name mentioned in the application’s env called MONITORING_TENANT. The user must have access to monitoring role collection of this monitoring tenant. In the example URL mentioned in this section belongs to EU10 live landscape. The name of the configured MONITORING_TENANT in the application’s env is sap-iotaemonitoring.
Troubleshooting
Availability
If the Availability check is undergoing maintenance, wait until end of maintenance and continue with the monitoring.
-
If the SAP Cloud Platform Availability Service is not accessible, report the issue to the Cloud Engineer on Duty considering there could be an issue in SAP Cloud Platform (SCP) Availability Service.
- If status of evaluation is "Up" (again) and SPC incident has been automatically closed, do not take any further action (end).
- <<info about wiki link to clarified>>
| Check | Root Cause | Solution |
|---|---|---|
| L3 | If any of the application is down, both L3 and L3+ checks will also be down. |
Go to SAP Cloud Platform Cockpit
|
| L3+ |
Go to SAP Cloud Platform Cockpit
|
|
| L4 | As this application is primarily responsible for monitoring the status of Data Ingestion application, the information about the available L4 check is added to data ingestion application’s availability check and recommended action item. One of the L4 check running from this application and mentioned in the data ingestion section is IoTAE_AWS-Live-EU10_monitoring-dataingestion-sap_Sparkjob_L4. |
HTTP Errors
The following table presents a list of error-related HTTP status codes, the typical root causes, and the recommended actions for solving the issue.
| Status Code | Root Cause | Solution |
|---|---|---|
| 400 | n/a | n/a |
| 401 | n/a | n/a |
| 403 | n/a | n/a |
| 404 | n/a | n/a |
| 429 | n/a | n/a |
| 500 | n/a | Check the request logs and analyze the stack trace in Dynatrace or kibana dashboard to find the root cause. Based on the analysis, ensure to take necessary action such as logging a BCP ticket in the relevant application component. |
| 502 | n/a | n/a |
| 902 | n/a | n/a |
General Metrics
The following table presents a list of common metrics for this component with a threshold value indicating critical system load, along with a recommended action as well as the preferred monitoring tool, where applicable.
| Metric | Tool | Threshold | Action |
|---|---|---|---|
| CPU Usage | Dynatrace | n/a | n/a |
| Memory Usage | Dynatrace | n/a | n/a |
| No. of Requests/Time | Dynatrace | n/a | n/a |
| Avg. Response Time | Dynatrace | n/a | n/a |
| Incoming Byte Rate | n/a | n/a | n/a |
| Outgoing Byte Rate | n/a | n/a | n/a |
Kafka Consumer/Producer
Consumer: <tenant>.sap.v1.iot.processed_timeseries
Additional Metrics
n/a
Miscellaneous
n/a