Skip to content

Monitors View

The Monitors view lets you define alert monitors that watch CloudMock metrics and trigger when thresholds are breached. Each monitor targets a specific service and metric, with configurable warning and critical thresholds, evaluation windows, and notification channels.

The left panel shows all configured monitors with filter tabs:

FilterShows
AllEvery monitor
OKMonitors within normal thresholds
WarningMonitors that have breached the warning threshold
AlertMonitors in critical alert state (badge shows count)
No DataMonitors that have not received data
MutedMonitors that are muted

Each monitor row displays a status icon, the monitor name, target service, metric type, the time since last check, and the current value.

Click + New to open the monitor creation form. Configure the following fields:

FieldDescription
NameA descriptive name (e.g., “API Gateway P99 Latency”)
ServiceThe target service from the service list
MetricThe metric to monitor (see table below)
OperatorComparison operator (>, >=, <, <=, ==, !=)
Critical ThresholdThe value at which the monitor enters alert state
Warning ThresholdOptional lower threshold that triggers a warning
Evaluation WindowHow far back to look when evaluating: 1m, 5m, 15m, 30m, or 1h
Notification ChannelsWhich channels to notify on alert (see below)
MetricDescription
p50P50 (median) latency
p9595th percentile latency
p9999th percentile latency
error_ratePercentage of failed requests
request_countTotal request volume
avg_latencyMean response time

Select one or more channels to receive alerts:

  • Email — Send alert notifications via email.
  • Slack — Post alerts to a Slack channel.
  • PagerDuty — Create PagerDuty incidents.
  • Webhook — Send alert payloads to a custom URL.

Select a monitor from the list to view its details in the right panel:

  • Status — Current state (ok, warning, alert, no data, muted) with color-coded badge.
  • Service — Target service name.
  • Metric — Which metric is being monitored.
  • Condition — The full threshold expression (e.g., p99 > 500 (warn: 200)).
  • Window — Evaluation window duration.
  • Channels — Configured notification channels.
  • Last Value — The most recent measured value.
  • Last Checked — When the monitor was last evaluated.
ActionDescription
Mute / UnmuteSilence a monitor without deleting it. Muted monitors do not trigger notifications.
EditOpen the monitor form to modify settings.
DeleteRemove the monitor permanently.

The detail panel includes an Alert History table showing every past alert event:

ColumnDescription
StatusThe alert status when the event fired (warning or alert)
ValueThe measured value that triggered the alert
ThresholdThe threshold that was breached
TimeHow long ago the event occurred
MessageHuman-readable description (e.g., “P95 latency exceeded critical threshold: 1240ms > 1000ms”)

Monitors are stored in the browser’s localStorage under the key neureaux:monitors. On first load, demo monitors are generated to illustrate the feature. These can be modified or deleted.

MethodPathDescription
GET/api/servicesList services for the service selector dropdown
GET/api/metricsMetric data used for monitor evaluation
GET/api/sloSLO data used for percentile calculations