Skip to content

Features

Synthetic monitoring

Included free on every install, with three probes per tenant, each run at most every 300 seconds, and down and recovery notices by email. More probes and shorter intervals need a license with the synthetic-monitoring-pro feature, and Slack, Discord, PagerDuty and webhook notices need alerts-pro. See pricing.

Synthetic monitoring calls your endpoints on a schedule, so you learn that something broke before a user tells you. Every run is recorded with its outcome and response time, response times roll up into trends, and a probe that fails several times in a row raises an alert.

TypeWhat one run doesRequired config
health_checkSends GET to a URL and checks the status code, 200 unless you set expected_status.url
api_canaryCreates a resource, reads it, updates it, deletes it, and checks that reading it again answers 404.endpoint_base, resource_path
login_flowPosts credentials to a login URL and can check the redirect that follows.login_url
webhook_deliveryPosts a payload to a URL and expects a 2xx answer.webhook_url

Every run is made from your instance, not from other parts of the world. A region is a label on the result, also sent to the target as the X-Synthetic-Region header. A due probe runs once even when several replicas are running.

In LyEve Console, synthetic monitoring is under Insight > Observability > Synthetic monitoring. The top row counts the Probes, how many are Failing and how many are Paused. Each row under Probes gives the probe's type and target, its state, how often it runs and its last run, and All, Failing and Paused narrow the list. The row buttons run the probe now, open its Notice channels, edit it and delete it. While a probe has an open alert, an Unacknowledged alerts card lists it with an Acknowledge button.

New probe asks for a Name, What it checks, the target, an Interval, in seconds, a Timeout, in seconds, the Failures before an alert and whether to Run on the schedule. The form has no region field, so a probe created there runs under all four region labels, and its timeout starts at 10 where the API's default is 30. Response time trends are read with the API on v0.25.0.

The Synthetic monitoring page with two probes: Checkout API, a health check that is failing, and Partner feed webhook, a webhook delivery that is paused.

This works on a free install. For the console steps, you are signed in to the console as an admin. For the API steps, you need an admin token in TOKEN. The quickstart shows how to get one.

1. Create a probe. On a free install it runs every 300 seconds.

Console v0.28.0

Press New probe. Set Name to Public site, What it checks to Health check, URL to https://example.com/ and Expected status to 200. Keep the interval at 300 and Failures before an alert at 3, leave Run on the schedule on, and press Create. The page confirms Created Public site, and the probe is listed under Probes.

Engine API v0.62.0

Shell
curl -X POST http://localhost:3001/api/admin/synthetic-monitoring/probes \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Public site", "type": "health_check", "config": {"url": "https://example.com/", "expected_status": 200}, "regions": ["eu-west"], "alert_threshold": 3}'
JSON
{
"id": "e6e4c9fc-5cfe-4db5-be63-219072e3d7ac",
"tenant_id": "default",
"name": "Public site",
"type": "health_check",
"enabled": true,
"config": { "url": "https://example.com/", "expected_status": 200 },
"interval_seconds": 300,
"timeout_seconds": 30,
"regions": ["eu-west"],
"alert_threshold": 3,
"created_at": "2026-10-01T10:00:00Z",
"updated_at": "2026-10-01T10:00:00Z"
}

Copy the id into PROBE_ID.

2. Run it now instead of waiting.

Console v0.28.0

Choose the run button on its row, labeled Run Public site now. The page reports Public site passed in with the response time, and Last run updates.

A run on a failing probe can outlast the page's wait. The page then says Public site is still running. Its results appear in the list when it finishes., and Last run updates when it does.

Engine API v0.62.0

Shell
curl -X POST http://localhost:3001/api/admin/synthetic-monitoring/probes/$PROBE_ID/run \
-H "Authorization: Bearer $TOKEN"
JSON
[
{ "id": "be3c2f7f-cb26-4064-8348-a108e6966626", "tenant_id": "default", "probe_id": "e6e4c9fc-5cfe-4db5-be63-219072e3d7ac", "status": "pass", "status_code": 200, "response_time_ms": 89, "region": "eu-west", "detail": "GET https://example.com/ => 200", "created_at": "2026-10-01T10:05:00Z" }
]

The answer holds one result per region. status is pass or fail, and a failure carries an error_message. The run counts toward the alert threshold the same as a scheduled one.

3. Read the response time trend for the last hour. This is API only on v0.25.0. If you created the probe in the console, list the probes and copy its id into PROBE_ID:

Shell
curl http://localhost:3001/api/admin/synthetic-monitoring/probes \
-H "Authorization: Bearer $TOKEN"

Then read the trend:

Shell
curl "http://localhost:3001/api/admin/synthetic-monitoring/probes/$PROBE_ID/trends?bucket=15m" \
-H "Authorization: Bearer $TOKEN"
JSON
[
{ "time": "2026-10-01T10:00:00Z", "avg_ms": 89, "p50_ms": 89, "p95_ms": 89, "p99_ms": 89, "count": 1, "fail_count": 0 }
]

4. List open alerts. A healthy probe has none.

Console v0.28.0

The page shows no Unacknowledged alerts card. When a probe fails often enough to raise an alert, the card lists it with an Acknowledge button.

Engine API v0.62.0

The answer is []:

Shell
curl "http://localhost:3001/api/admin/synthetic-monitoring/alerts?acknowledged=false" \
-H "Authorization: Bearer $TOKEN"

5. Delete the probe with its results and alerts.

Console v0.28.0

Choose the delete button on its row, labeled Delete Public site. The dialog asks "Delete Public site? Its results and alert history are deleted. This cannot be undone." Press Delete, and the page reports Probe deleted.

Engine API v0.62.0

The answer is 204:

Shell
curl -X DELETE http://localhost:3001/api/admin/synthetic-monitoring/probes/$PROBE_ID \
-H "Authorization: Bearer $TOKEN"

POST /api/admin/synthetic-monitoring/probes creates one, and PUT /api/admin/synthetic-monitoring/probes/{id} replaces one with the same body.

FieldMeaningDefault
nameA name for the probe.required
typeOne of the four types.required
configSettings for the type, below.required
enabledWhether the schedule runs it.true
interval_secondsSeconds between runs. At least 300 on a free install, and at least 15 with synthetic-monitoring-pro.300 free, 60 with synthetic-monitoring-pro
timeout_secondsSeconds before a run counts as failed.30
regionsLabels for the runs. Each run happens once per label.empty, which runs under us-east, us-west, eu-west and ap-southeast
alert_thresholdFailed runs in a row before an alert. A run fails when any of its regions fails.3

Set one region unless you want the same check repeated under several labels. A probe created in the console has no regions set, so it runs under all four.

Typeconfig fields
health_checkurl (required), expected_status
api_canaryendpoint_base and resource_path (both required), resource_id_field (the field of the create response that holds the new id), auth_token
login_flowlogin_url (required), username, password, expected_redirect
webhook_deliverywebhook_url (required), payload, expected_response

Every type also accepts headers, an object of extra request headers. Tokens, passwords and secret headers are shown as *** in every answer.

Every probe type, every read, trends, alerts and a manual run are free. What synthetic-monitoring-pro adds is scale:

FreeWith synthetic-monitoring-pro
Probes per tenant3, enabled or notUnlimited
Shortest interval300 seconds15 seconds

The license is read on every request. A probe set up with synthetic-monitoring-pro keeps running at its stored interval after a license lapses, and an update that resends that interval is accepted, so you can still rename, disable or retarget it. A fourth probe on a free install answers:

JSON
{"error": "cap_exceeded", "cap": "synthetic.probes", "limit": 3, "current": 3, "upgrade_url": ""}

An interval under 300 seconds answers 402 with {"error": "payment_required", "plugin": "synthetic-monitoring", "feature": "feature:synthetic-monitoring-pro", "upgrade_url": ""}.

GET /api/admin/synthetic-monitoring/limits says what a write will accept: the tenant's probes against their ceiling, and the shortest interval a new probe may be given. On a free install it answers:

JSON
{"probes": {"limit": 3, "current": 1}, "min_interval_seconds": 300}

With synthetic-monitoring-pro, limit is 0, which means no ceiling, and min_interval_seconds is 15.

To check a site every minute:

Console v0.28.0

In New probe, enter 60 in Interval, in seconds. With the license its hint starts At least 15. The probe's row then reads Every 1 minute.

Engine API v0.62.0

Shell
curl -X POST http://localhost:3001/api/admin/synthetic-monitoring/probes \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Public site", "type": "health_check", "config": {"url": "https://example.com/", "expected_status": 200}, "interval_seconds": 60, "regions": ["eu-west"]}'

The answer is 201. An interval of 10 answers 400 with interval_seconds must be at least 15.

A probe cannot reach private or internal addresses. To probe a service on your own network, list its range in SYNTHETIC_MONITORING_ALLOWED_TARGETS, such as 10.0.0.0/8, and restart the instance. A target outside the list is refused with 400 when you save the probe.

  • GET /api/admin/synthetic-monitoring/probes/{id}/results lists recent results. limit is 1 to 500 and defaults to 50.
  • GET /api/admin/synthetic-monitoring/probes/{id}/trends takes bucket (such as 5m or 1h, at least 1m, default 5m) and since and until in RFC 3339 (default: the last hour). A range wider than SYNTHETIC_MONITORING_MAX_TREND_RANGE is cut to that range, and the answer carries X-Trend-Truncated: true.
  • GET /api/admin/synthetic-monitoring/alerts lists alerts, with acknowledged=false for open ones.

A run fails when any of its regions fails. When a probe's failed runs in a row reach its alert_threshold and it has no open alert, an alert is raised with the probe, the number of failed runs and the last error. The first passing run after that sets the count back to zero, resolves the alert and sets its resolved_at. A run started with the API's run route counts the same as a scheduled one. Mark one seen with POST /api/admin/synthetic-monitoring/alerts/{id}/acknowledge, which answers {"status": "acknowledged"}.

Each probe sends a down notice when it raises an alert, and a recovery notice when a passing run resolves it, to the channels you set on it:

Shell
curl -X PUT http://localhost:3001/api/admin/synthetic-monitoring/probes/$PROBE_ID/alert-channels \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"email": ["ops@example.com"]}'

Email works on every install. Slack, Discord, PagerDuty and a signed webhook need alerts-pro, and a PagerDuty incident opened by the outage is resolved by the recovery. Send null to clear the channels. GET on the same path answers the channels and licensed, whether this install may add a paid one. In the console, the Notice channels button on a probe's row opens the same channels, where Email takes the addresses and Save stores them. Alerts covers every channel.

VariableWhat it doesDefault
SYNTHETIC_MONITORING_HTTP_TIMEOUTSeconds any probe request may take.30
SYNTHETIC_MONITORING_ALLOWED_TARGETSComma-separated CIDR ranges probes may reach although they are private. An invalid value stops the feature from starting.unset
SYNTHETIC_MONITORING_MAX_TREND_RANGEThe widest range one trends query covers, as a duration.168h

If you set LYEVE_PLUGINS to choose which features start, include synthetic-monitoring in it. See licensing and tiers.

All routes need an admin and act on the caller's tenant.

Probes, results and alerts
MethodPathPurpose
GET/api/admin/synthetic-monitoring/probesList probes.
POST/api/admin/synthetic-monitoring/probesCreate a probe. Answers 201.
GET/api/admin/synthetic-monitoring/probes/{id}Read a probe.
PUT/api/admin/synthetic-monitoring/probes/{id}Replace a probe.
DELETE/api/admin/synthetic-monitoring/probes/{id}Delete a probe with its results and alerts. Answers 204.
POST/api/admin/synthetic-monitoring/probes/{id}/runRun a probe now. The run counts toward the alert threshold.
GET/api/admin/synthetic-monitoring/limitsThe tenant's probes against their ceiling, and the shortest interval allowed.
GET/api/admin/synthetic-monitoring/probes/{id}/resultsRecent results.
GET/api/admin/synthetic-monitoring/probes/{id}/trendsResponse time trends.
GET/api/admin/synthetic-monitoring/alertsList alerts.
POST/api/admin/synthetic-monitoring/alerts/{id}/acknowledgeAcknowledge an alert.
GET/api/admin/synthetic-monitoring/probes/{id}/alert-channelsWhere a probe's notices go, and licensed.
PUT/api/admin/synthetic-monitoring/probes/{id}/alert-channelsSet them, or clear them with null.
StatusMessageCause
400headers name the same header more than onceA create or update listed one header twice, in any mix of capitals.
400a secret cannot be the mask a read returnsA create sent ***, the mask a read shows, as a token, a password or a sensitive header.
400name is requiredThe probe has no name.
400type must be one of: health_check, api_canary, login_flow, webhook_deliveryUnknown type.
400url is required for health_check probesA required setting for the type is missing. Each type names its own.
400probe target "<url>" is not allowed: ...The target is a private or internal address that is not allowed.
400interval_seconds must be at least 15An interval shorter than the scheduler runs.
402cap_exceededA fourth probe without synthetic-monitoring-pro.
402payment_requiredAn interval under 300 seconds without synthetic-monitoring-pro, or a paid notice channel without alerts-pro.
404probe not found or alert not foundNo such id in the tenant.
409probe run already in progress for this probeThe probe is already running.
422the body must be a channels object or null, or a channel that breaks a rule on AlertsThe notice channels are not valid.
503alert channels other than email cannot be stored right nowA paid channel on an instance without ENCRYPTION_KEY.