Operational Data Available in Apiruler
The operational modules combine embedded Monitoring dashboards, managed Alert rules and a Logging dashboard. Use them together: Monitoring identifies a trend, Alerts notify when a threshold is exceeded, and Logging provides request-level evidence for investigation.
Dashboard availability depends on the configured observability services and the signed-in user session used by the embedded dashboard.
Use Monitoring Dashboards
- Open Monitoring to load the Gateway Monitoring dashboard.
- Review traffic, performance and health panels for the selected dashboard time range.
- Scroll to System Health Dashboard for host CPU, memory, disk, load and network, and per-container CPU, memory against the memory limit, network and OOM kills. Panel thresholds match the System Health alarms listed under Global Alerts on the Alerts page.
- Scroll to Request Origins to review the geographic distribution of requests by country.
- Use Refresh Dashboard when a panel appears stale or after sending test traffic.
- If an embedded dashboard cannot load, use Open Grafana Directly to distinguish an embedding problem from a dashboard or session problem.
Embedded dashboards reload when the Apiruler theme changes so that light and dark display modes remain consistent.
Create an Alert Rule
- Open Alerts and select Add Alert.
- Select the Service that the rule will monitor.
- Select Bandwidth, Latency or Request Rate.
- Enter a numeric threshold in the unit displayed by the form.
- Review the generated alert title and rule group, then select Create Alert.
- Confirm that the rule appears in the Service-specific group and review its state.
| Category | Unit | Measured value | Trigger behavior |
|---|---|---|---|
| Bandwidth | bytes/s | Five-minute egress bandwidth rate. | Triggers when the latest reduced value is above the threshold for five minutes. |
| Latency | ms | P95 latency calculated over five minutes. | Triggers when P95 is above the threshold for five minutes. |
| Request Rate | req/s | Request rate calculated over one minute. | Triggers when the latest reduced value is above the threshold for five minutes. |
The Alerts page summarizes Firing, OK and Total counts and groups rules by Service or global scope. A no-data result is treated as OK; a rule execution error is treated as Alerting.
Review and Remove Alerts
- Review the Firing count first to identify active conditions.
- Expand the Service or Global group and locate the relevant category.
- Inspect the rule title, status and threshold information.
- Use Refresh to retrieve the latest rule state.
- Delete a rule only after confirming that it is no longer required; review its name in the confirmation dialog.
Use the Logging Dashboard
- Open Logging to load the configured log dashboard.
- Select a time range that includes the request or incident being investigated.
- Filter with the dashboard controls: Host, Service, Route, Method and Status dropdowns, URI for requests whose path contains the text, and Search for a case-insensitive regular expression over the whole log line.
- Correlate error timestamps with Monitoring spikes and Alert firing times.
- Use Refresh Dashboard after sending a controlled reproduction request.
- Open the dashboard directly when embedding is blocked or a larger investigation workspace is needed.
Suggested Incident Investigation Flow
- Identify the affected Service, Route and time window from the incident report.
- Check Alerts for an active bandwidth, latency, request-rate or system health condition.
- Use Monitoring to determine whether the change is isolated to one Service or visible across the platform.
- Open Logging with the same time window and locate failed or slow requests.
- Compare recent Service, Route, Plugin, Target or certificate changes with the first observed failure.
- Apply the smallest safe correction, resend a test request and verify recovery in all three modules.
Monitoring and Logging Troubleshooting
| Problem | Likely cause | What to do |
|---|---|---|
| An embedded dashboard is blank or blocked. | Embedding headers, browser security settings or dashboard authentication prevent display. | Refresh, sign in to the dashboard service and use Open Grafana Directly to verify access. |
| The Logging page remains in the configuration state. | The logging dashboard path is not configured. | Set the required logging dashboard environment value and restart the application. |
| An Alert cannot be created. | Service, category or numeric threshold is missing, or the alert service request failed. | Complete all fields and verify alert-service connectivity. |
| An Alert stays Firing after recovery. | The evaluation window still contains values above the threshold. | Wait for the five-minute condition window, refresh and confirm current metrics. |
| Test traffic does not appear immediately. | Dashboard refresh interval, selected time range or filter excludes the request. | Expand the time range, clear filters and refresh the dashboard. |