Availability and Alert Thresholds
We recommend the following alert thresholds for your SAP Commerce Cloud environments
Performance Alerts
Performance alert thresholds are dynamic. These alerts are based on automated baselining, which is calculated based on a rolling window of the last seven days of historical data. Therefore, every service can have a different alerting threshold and they can change over time. However, these theshholds cannot be modified by the customers.
To understand this methodology in depth, see Dynatrace documentation
.
Dynamic threshold rules - Services
- Frontend, e.g www.xxx.com:443
- Backend, e.g xxxstorefront, cmswebservices
- Background, e.g Cronjob, TaskEngine
- External services, e.g ‘Requests to public networks’, ‘Requests to unmonitored hosts’
- Response time: enabled
Property Setting Detection mode Automatic All requests - Absolute threshold: 500 ms
- Relative threshold: 100%
Slowest 10% - Absolute threshold: 1000 ms
- Relative threshold: 200%
Avoid over-alerting - Only alert if there are at least: 10 requests per minute
- Only alert if the abnormal state remains for at least: 1 minute.
- Failure Rate: enabled
Property Setting Detection mode Automatic Absolute threshold 10% Relative threshold 100% Avoid over-alerting - Only alert if there are at least: 10 requests per minute
- Only alert if the abnormal state remains for at least: 1 minute.
Dynamic threshold rules - Database
- Response time degradation
- Failure rate increase
- Failed database connects
- Response time: enabled
Property Setting Detection mode Automatic All requests - Absolute threshold: 5 ms
- Relative threshold: 50%
Slowest 10% - Absolute threshold: 20 ms
- Relative threshold: 100%
Avoid over-alerting - Only alert if there are at least: 10 requests per minute
- Only alert if the abnormal state remains for at least: 1 minute.
- Failure Rate: enabled
Property Setting Detection mode Automatic Absolute threshold 5% Relative threshold 50% Avoid over-alerting - Only alert if there are at least: 10 requests per minute
- Only alert if the abnormal state remains for at least: 1 minute.
External Services
By default, all third-party requests are monitored in a single service - either ‘Requests to public networks’ or ‘Requests to unmonitored hosts’, grouped by domain/host/IP. Alerting for individual domain/host/IP depends on the overall traffic contribution. If one specific third-party service experiences response time degradation or an increase to the failure rate, but the traffic contribution is too low, it may not trigger an alert.
To monitor critical third-party services better, SAP has preconfigured all mainstream Payment service providers as standalone services. If you use an unlisted payment service or you need to monitor other business critical third-party services, you can raise a support ticket to mark them as standalone.
- Appears on the Services page as a standalone service.
- Appears in Smartscape, Service flow, and elsewhere as a standalone service. This enables you to track the response time better.
- Can be pinned to your dashboards as a dedicated tile.
- Receives an independent performance baseline and better anomaly detection.
Infrastructure Alerts
Alert Thresholds
- Host
- CPU
- Memory
- Disk
- Network
- Process Group/Instance
- CPU
- Memory
- Database
- DTU
- Storage
- Host:
Property Setting CPU saturation Alert if CPU usage is higher than 95% in 3 of 5 one-minute intervals. Memory event usage - Alert if memory usage is higher than 90% on Windows or 80% on Linux
- AND the memory page fault rate is higher than 100 faults/s on Windows or 20 faults/s on Linux in 3 of 5 one-minute intervals.
GC activity - Alert if GC time is higher than 40%
- OR if GC suspension if higher than 25% in 3 of 5 one-minute intervals.
Java out of memory Alert if the number of Java out-of-memory exceptions is 1 per minute or higher - Network:
Property Setting Number of dropped packets - Alert if the receive/transmit dropped packet percentage is higher than 10%.
- AND the total packets rate is higher than 10 packets/s in 3 of 5 one-minute intervals.
Network utilization Alert if the sent/received traffic utilization is higher than 90% in 3 of 5 one-minute intervals. TCP connectivity for process - Alert if the percentage of new connection failures is higher than 3%.
- AND the number of failed connections is higher than 10 connections/min in 3 of 5 one-minute intervals.
Retransmission rate - Alert if the retransmission rate is higher than 3%.
- AND the number of retransmitted packets is higher than 10 packets/min in 3 of 5 one-minute intervals.
- Disk:
Property Setting Low disk space Alert if the free disk space is lower than 3% in 3 of 5 one-minute intervals. Slow running disks Alert if the disk read time or write time is higher than 200 ms in 3 of 5 one-minute intervals. Inodes number available Alert if the percent of availalbe inodes is lower than 5% in 3 of 5 one-minute intervals.
Database Infrastructure Alerts
- Azure DTU Usage Critical
- Azure ReadOnly DB DTU Usage Critical
- Azure DB Storage Usage
Digital Experience Monitoring Alerts
- Response time degradation
- Failure rate increase
- Failed database connects
Application Alert Thresholds
| Property | Setting |
|---|---|
| Detect key performance metric degradations | Enabled |
| Detection strategy for increases in JavaScript errors | Automatic |
| All user actions |
|
| Slowest 10% |
|
| Avoid over-alerting |
|
| Error rate | Detect increases in JavaScript errors: Enabled |
| Detect increaes in JavaScript errors | Enabled |
| Alert if the percentage of failing user actions increases by both the absosute and relative thresholds |
|
| Avoid over alerting |
|
| Detect traffic drops |
|
| Alert if the observed traffic is less than this percentage of the expected value | 50% |
| Minutes the observed traffic has to stay in abnormal state before alert | 1 minute |
Synthetic Alert Thresholds
- Outage Handling:
Property Setting Generate a problem and send an alert when the monitor is unavailable at all configured locations Enabled Alert if all locations are unable to access my web applications 1 time Generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location. Enabled Alert if at least 1/3 locations are unable to access my web application 2 times consecutively Automatic retry on error. Enabled Enabled - Performance Thresholds:
Property Setting Generate a problem and send an alert on perfromance threshold violations Enabled Synthetic event Total duration all events Threshold (in seconds) 10
Anomaly Detection Alerts
| Alert | Conditions |
|---|---|
| Apache Workers Exhausted | Apache worker pool usage is over 99% for five out of 10 minutes. |
| Container Running Ratio Low | Running or desired containers per SAP Commerce workload type is less than 50% for 10 out of 15 minutes. |
| Pod Frequent Restart | 10 restarts within 15 minutes per SAP Commerce workload. |
| Potential Datahub Publication Stuck (applicable if Datahub solution is used) | Publication complete events or Publication start events within one hour is less than 1%. |
| Solr Index Unavailable | Total exception count of any exception message listed below is over 10 for five consecutive minutes:
|
| Solr Zookeeper Connection Lost | Exception count of message ‘Could not connect to ZooKeeper’ is over two for one out of every three minutes. |
| Tomcat Available Threads Percentage low | idleThreads/(idleTreads + busyThreads) is under 2% for four consecutive minutes. |
| Process group low instance count | The instance count for Tomcat process groups available (observed) is less than one. |