Operations

Monitoring, Alert and Logging

Monitor traffic, create alerts and inspect request logs.

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

Navigation pathMain menuMonitoring
  1. Open Monitoring to load the Gateway Monitoring dashboard.
  2. Review traffic, performance and health panels for the selected dashboard time range.
  3. 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.
  4. Scroll to Request Origins to review the geographic distribution of requests by country.
  5. Use Refresh Dashboard when a panel appears stale or after sending test traffic.
  6. If an embedded dashboard cannot load, use Open Grafana Directly to distinguish an embedding problem from a dashboard or session problem.
Theme synchronization

Embedded dashboards reload when the Apiruler theme changes so that light and dark display modes remain consistent.

Create an Alert Rule

Navigation pathMain menuAlertsAdd Alert
  1. Open Alerts and select Add Alert.
  2. Select the Service that the rule will monitor.
  3. Select Bandwidth, Latency or Request Rate.
  4. Enter a numeric threshold in the unit displayed by the form.
  5. Review the generated alert title and rule group, then select Create Alert.
  6. Confirm that the rule appears in the Service-specific group and review its state.
CategoryUnitMeasured valueTrigger behavior
Bandwidthbytes/sFive-minute egress bandwidth rate.Triggers when the latest reduced value is above the threshold for five minutes.
LatencymsP95 latency calculated over five minutes.Triggers when P95 is above the threshold for five minutes.
Request Ratereq/sRequest rate calculated over one minute.Triggers when the latest reduced value is above the threshold for five minutes.
Alert states

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

  1. Review the Firing count first to identify active conditions.
  2. Expand the Service or Global group and locate the relevant category.
  3. Inspect the rule title, status and threshold information.
  4. Use Refresh to retrieve the latest rule state.
  5. Delete a rule only after confirming that it is no longer required; review its name in the confirmation dialog.

Use the Logging Dashboard

Navigation pathMain menuLogging
  1. Open Logging to load the configured log dashboard.
  2. Select a time range that includes the request or incident being investigated.
  3. 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.
  4. Correlate error timestamps with Monitoring spikes and Alert firing times.
  5. Use Refresh Dashboard after sending a controlled reproduction request.
  6. Open the dashboard directly when embedding is blocked or a larger investigation workspace is needed.

Suggested Incident Investigation Flow

  1. Identify the affected Service, Route and time window from the incident report.
  2. Check Alerts for an active bandwidth, latency, request-rate or system health condition.
  3. Use Monitoring to determine whether the change is isolated to one Service or visible across the platform.
  4. Open Logging with the same time window and locate failed or slow requests.
  5. Compare recent Service, Route, Plugin, Target or certificate changes with the first observed failure.
  6. Apply the smallest safe correction, resend a test request and verify recovery in all three modules.

Monitoring and Logging Troubleshooting

ProblemLikely causeWhat 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.

Need a hand?

If you get stuck during installation or configuration, our team is ready to help.