How to monitor API Connection in Huawei Cloud
Site24x7 monitors Huawei Cloud's API Connection (APIC) with insights into request volume, error rates, latency, and throughput. Combined, these insights enable you to detect issues early and ensure reliable API performance.
Use cases
Error control: Detect API failures early by monitoring 4xx and 5xx errors, allowing you to identify backend issues before they affect consumers.
Latency control: Ensure optimal API performance by tracking average and maximum latency, allowing early detection of slow requests or those prone to timeouts.
Traffic insight: Identify API usage anomalies by monitoring input and output throughput. This helps detect unusual traffic patterns or backend response issues.
Setup and configuration
API Connection resources are auto-discovered and monitored during the Huawei Cloud integration. To enable monitoring, follow the steps below:
- Navigate to Cloud > Huawei > Add Huawei Monitor. Learn how to add a Huawei Cloud monitor.
- While adding or editing a Huawei Cloud monitor, select APIC from the Service/Resource Types drop-down and click Save.
- Navigate to Cloud > Huawei, select the created Huawei monitor, and then click APIC.
Supported metrics
Requests
|
Metric name |
Description |
Units |
|---|---|---|
| Request Count | The total number of API requests received by the APIC instance. | Count |
| 2xx Request Count | The total number of API requests that received a successful 2xx response. | Count |
Errors
|
Metric name |
Description |
Units |
|---|---|---|
| 4xx Request Count | The total number of API requests that received a client error 4xx response. | Count |
| 5xx Request Count | The total number of API requests that received a server error 5xx response. | Count |
| Error Request Count | The total number of API requests that resulted in an error response. | Count |
Latency
|
Metric name |
Description |
Units |
|---|---|---|
| Average Latency | The average response time for API requests processed by the APIC instance. | Millisecond |
| Maximum Latency | The maximum response time recorded for a single API request on the APIC instance. | Millisecond |
Throughput
|
Metric name |
Description |
Units |
|---|---|---|
| Input Throughput | The rate of data received by the APIC instance from API request payloads per second. | Byte/second |
| Output Throughput | The rate of data transmitted by the APIC instance in API response payloads per second. | Byte/second |
Dependency View
The Dependency View tab maps APIC groups based on your customer requirements. Contact support and share your requirements to help us prioritize dependency mapping for the APIC groups in your account.
Common monitored data
Outages
The Outages tab displays outage details, including start time, end time, duration, and related comments, to help track and review downtime events.
Notes
The Notes tab enables you to record descriptions, operational context, runbook steps, recent changes, and reference links to keep your team informed. Format the content using markdown syntax.
Log Report
The Log Report tab provides a unified view of the respective monitor's log status and supports CSV downloads for analysis and auditing.
Alert Logs
The Alert Logs tab provides a comprehensive list of all alerts generated by the monitor. Easily track key details such as the monitored resource name, alert trigger time, root cause, and notification status. Learn more.
Threshold configuration
You can configure thresholds and alerts for all APIC metrics to detect performance degradation proactively or connection issues.
- Go to Admin > Configuration Profiles > Threshold and Availability.
- Create or edit your Threshold Profile for APIC.
- Assign the profile to the respective monitors to trigger alerts.
IT Automation
Use Site24x7's IT Automation to resolve common issues with APIC performance:
- Go to Admin > IT Automation Templates. Then, click Add Automation Templates.
- Create an automation rule by selecting the automation Type (e.g., Server reboot, clear queue).
- Map the created rules to the APIC, for automatic execution during alerts.
Configuration rules
Use Configuration Rules to simplify bulk setup across APIC instances. Automatically assign Threshold Profiles, Notification Profiles, Tags, and Monitor Groups when new monitors are discovered.
