modeler, tenant adminUpdated 2026-09-28

Alert Configuration

What this covers

Tessallite alerts you by email or in the application (in-app alerts) when platform lifecycle events occur: aggregate refresh failures, schema drift, SLA breaches, query failure spikes, aggregate retirements, and upstream refresh failures. This page explains how alert routing works, how to configure routes, and best practices for operational alerting.

How alerting works

The alert system consists of three layers:

  1. Event emitters — the scheduler, query-router, and optimizer emit events when something operationally significant happens.
  2. Notification routes — per-tenant configuration records that map event types to delivery channels. Each route specifies an event type, a channel (email or in-app), the email recipients when the channel is email, and an enabled flag.
  3. Delivery — email goes through the SMTP sender, configured at the system level via environment variables. An in-app alert is recorded by Tessallite and listed under Recent alerts and deliveries in the Alerts panel; nothing leaves Tessallite.

When a lifecycle event fires, the dispatcher looks up all enabled notification routes for that event type, deduplicates within a 5-minute window, and dispatches to each matching channel.

Supported events

EventTriggerTypical action
Refresh FailureA scheduled aggregate refresh fails (full or incremental).Investigate the source database or refresh query. Check the Diagnostics panel for the error detail.
Schema DriftThe daily schema drift sweep detects column additions, removals, or type changes in a source table.Review the Schema Changes panel. Column removals are always flagged as breaking. Type changes on dimensions or measures are breaking.
SLA BreachThe hourly SLA monitor finds an aggregate whose freshness exceeds the configured SLA threshold.Check the SLA Configuration panel for the breached aggregate. Verify the source database is accessible and the refresh schedule is running.
Query Failure SpikeMore than 10 queries fail within a 5-minute window in the query-router.Check the Query Log for the error pattern. Common causes: source database down, credential rotation, or connection pool exhaustion.
Aggregate RetiredThe daily retirement sweep removes aggregates that exceed the per-model cap.Review the retired aggregates in the Diagnostics panel. If important aggregates were retired, increase the model's aggregate limit.
Upstream Refresh FailedA scheduled refresh did not run because an upstream refresh it depends on failed first.Fix the upstream refresh, then re-run the dependent job. Check the Scheduler Dependencies for the chain order — a failure early in the chain blocks everything that depends on it.
Core RestartedA Core process exited unexpectedly and the unit restarted. Tenant routes only.Check the process, exit code, UTC exit time, restart duration, and owner cleanup counts in the alert and system admin log.
KPI Status ChangeA KPI's computed status transitions (e.g., Good→Warning or Warning→Poor).Check the KPI Scorecard for the current status and trend. Status changes often indicate a developing issue that may need attention before it becomes critical.
KPI Trend AlertA KPI's trend direction changes (e.g., Improving→Declining or Flat→Declining).Review the KPI trend in the Scorecard. A declining trend is an early warning that the KPI may move from its current status to a worse one.

Configuring alert routes

Open any model in the Model Builder. Click the Alerts icon in the toolbelt (bell icon, near the bottom). This opens the Alerts panel.

Tenant admins can open Tenant Administration → Tenant alerts to manage tenant-wide routes, including Core Restarted. These routes use the same email and in-app channels and apply across the tenant; tenant in-app alerts are listed under Recent alerts and deliveries on the Tenant alerts page. Project modellers cannot view or change tenant routes. Configure a tenant route before relying on Core restart alerts; without an enabled route, the restart is logged but no message is sent.

Adding a route

  1. Click Add Route.
  2. Select the Event Type — the lifecycle event that triggers the alert.
  3. Select the Channel — Email or In-app.
  4. For Email: enter one or more recipient email addresses, separated by commas. In-app needs no settings.
  5. For KPI events: optionally enter a KPI Name to restrict the alert to a specific KPI (leave blank to match all KPIs). For KPI Threshold Breach, set the Threshold ratio — a value like 0.8 triggers an alert when the KPI value drops below 80% of its goal.
  6. Toggle Enabled on (enabled by default).
  7. Click Create.

Editing and deleting routes

Hover over any row in the alert routes table to reveal action buttons. Click the edit icon to modify the route, or the delete icon to remove it. Use the toggle switch to enable or disable a route without deleting it.

Testing a route

Click the send icon on any row to dispatch a test alert through the configured channel. The test result appears inline. For an in-app route, a test alert appears under Recent alerts and deliveries. If an email test fails, check the SMTP settings and the recipient addresses.

Deduplication

The dispatcher suppresses repeated delivery of the same incident to a route within a 5-minute window. The Core restart hook also claims each tenant against the durable restart record, so running it twice cannot emit a second alert for the same restart.

The window resets after 5 minutes, so the next occurrence after the window will trigger a fresh alert.

SMTP email setup

Email alerts require SMTP configuration at the system level. These settings are environment variables (not per-tenant):

VariableDescriptionDefault
SMTP_HOSTSMTP server hostname. If empty, email sending is disabled.(empty)
SMTP_PORTSMTP server port.587
SMTP_TLSEnable STARTTLS.true
SMTP_USERSMTP authentication username. Leave empty for unauthenticated relays.(empty)
SMTP_PASSWORDSMTP authentication password.(empty)
SMTP_FROMSender address for alert emails.noreply@tessallite.local

If SMTP_HOST is not set, the email sender logs a warning and skips delivery. Alert routes with email channels will silently fail until SMTP is configured.

Recent alerts and deliveries

The Alerts panel lists the latest alerts: every in-app alert (with its subject and message) and every email attempt, including failed ones with the reason (for example, SMTP not configured). Project panels show the project's alerts plus tenant-wide ones; the Tenant alerts page shows tenant-wide alerts such as Core Restarted. Records are kept for the notification delivery retention period (30 days by default).

Slack is not a Tessallite alert channel. Routes that used Slack before 2026-09-28 were converted to in-app routes.

API reference

Project endpoints require modeler-level access. Tenant endpoints require a human tenant admin or system admin.

EndpointDescription
GET /api/v1/projects/{id}/notificationsList all notification routes for the project.
POST /api/v1/projects/{id}/notificationsCreate a new notification route.
PUT /api/v1/projects/{id}/notifications/{route_id}Update an existing route.
DELETE /api/v1/projects/{id}/notifications/{route_id}Delete a route.
POST /api/v1/projects/{id}/notifications/testSend a test alert through the specified channel configuration.
GET /api/v1/projects/{id}/notifications/deliveriesRecent in-app alerts and email outcomes for the project (and tenant-wide ones).
GET /api/v1/tenant/notifications/event-typesList event types available to tenant routes.
GET /api/v1/tenant/notificationsList tenant-wide routes.
POST /api/v1/tenant/notificationsCreate a tenant-wide route.
PUT /api/v1/tenant/notifications/{route_id}Update a tenant-wide route.
DELETE /api/v1/tenant/notifications/{route_id}Delete a tenant-wide route.
GET /api/v1/tenant/notifications/deliveriesRecent tenant-wide in-app alerts and email outcomes.

Route create accepts event_type, channel_type (email or in_app), channel_config ({"recipients": [...]} for email, {} for in-app), and optional enabled. Update accepts any of these fields. Tenant route responses include project_id: null.

Best practices