Redpeaks V6.8
Trouble shooting
Monitors Guide
Trouble shooting
Monitors Guide
Add this page to your book
Remove this page from your book The BTP Application Stats Monitor provides comprehensive monitoring of SAP Business Technology Platform (BTP) Cloud Foundry applications. It tracks application health, resource usage, and instance status in real-time, allowing you to proactively detect and respond to performance issues or failures.
/v3/apps)/v3/processes/{guid}/stats)| Endpoint | Purpose |
|---|---|
| POST /oauth/token | Authentication (OAuth2 token generation) |
| GET /v3/apps | List all applications (wildcard mode) |
| GET /v3/processes/{guid}/stats | Retrieve instance statistics for an application |
The monitor collects the following metrics for each application:
Monitor all applications in your BTP space automatically by using * as the app name. The monitor will:
/v3/apps endpoint/v3/processes/{guid}/stats to gather instance-level statisticsThe overall application state is determined as follows:
Note: If you have 2 instances where 1 is RUNNING and 1 is CRASHED, the application is considered RUNNING because it's still serving traffic.
There are two ways to add applications to the monitor:
Benefits:
*Benefits:
Zero configuration for comprehensive coverage Automatically monitors new applications Single configuration for all apps
| Field | Description | Default |
|---|---|---|
| Active | Enable/disable monitoring for this application | true |
| Schedule | Collection frequency (minutes) | 5 |
| Timeout | Maximum execution time (seconds) | 120 |
| App Name | Application name or * for all apps | * |
| Field | Description | Default |
|---|---|---|
| State Alarm | Enable state monitoring | true |
| Expected State | Expected application state | RUNNING |
| State Check Mode | EQUALS or NOT_EQUALS | NOT_EQUALS |
| State Severity | Alarm severity (1-5) | 4 (Critical) |
NOT_EQUALS + RUNNING → Alarm if app is NOT runningEQUALS + CRASHED → Alarm if app IS crashed| Field | Description | Default |
|---|---|---|
| Crashed Instances Alarm | Enable crashed instance detection | true |
| Crashed Instances Threshold | Maximum acceptable crashed instances | 0 |
| Crashed Instances Severity | Alarm severity | 4 (Critical) |
| Field | Description | Default |
|---|---|---|
| Memory Alarm | Enable memory monitoring | true |
| Memory Warning % | Warning threshold | 80% |
| Memory Critical % | Critical threshold | 90% |
| Field | Description | Default |
|---|---|---|
| Disk Alarm | Enable disk monitoring | true |
| Disk Warning % | Warning threshold | 80% |
| Disk Critical % | Critical threshold | 90% |
| Field | Description | Default |
|---|---|---|
| CPU Alarm | Enable CPU monitoring | true |
| CPU Warning % | Warning threshold | 80% |
| CPU Critical % | Critical threshold | 90% |
| Field | Description | Default |
|---|---|---|
| Auto Clear | Automatically clear alarms when conditions normalize | true |
| Metric | Enable metrics collection | true |
Memory Warning: 70% Memory Critical: 85% CPU Warning: 60% CPU Critical: 80%
* Leave development apps inactive
App Name: * State Alarm: Enabled Expected State: RUNNING State Check Mode: NOT_EQUALS
→ Monitors all apps in your BTP space and raises alarms if any app is not running.
App Name: background-worker State Alarm: Enabled Memory Alarm: Disabled Disk Alarm: Disabled CPU Alarm: Disabled Crashed Instances Alarm: Disabled
→ Only monitors if the application is running, ignoring resource usage.
BTP App my-app is in state STOPPED (expected state: RUNNING)
BTP App my-app has 2 crashed instance(s) (threshold: 0)
BTP App my-app memory usage is 92.5% [CRITICAL] (thresholds: warning=80%, critical=90%)
BTP App my-app CPU usage is 85.23% [WARNING] (thresholds: warning=80%, critical=90%)