service.name to get per-service firing events instead of a single rolled-up signal.
Alert fields
When you create or update an alert you supply the following fields:Filter fields
Thefilter object lets you narrow which events the alert considers:
resourceAttrs— an array of{ key, value }pairs matched against OTel resource attributesservice— shorthand forservice.nameseverity— match a log severity level (e.g.ERROR)spanName— match a specific span namestatusCode— match an OTel span status codeminDurationMs— only include spans longer than this duration in milliseconds
Validation rules
aggregationmust becountwhensourceislogsortracesaggregationmust besumoravgwhensourceismetric, andmetricNameis requiredgroupByis required whengroupModeisper_group
Creating alerts
1
Open the Alerts page
Navigate to Alerts in the left sidebar. You’ll see all existing alerts for the active project.
2
Click New Alert
Fill in the form fields. Use the Preview button to evaluate your configuration against current data before saving — Superlog shows you whether the alert would be breaching right now.
3
Save the alert
Click Create. The alert begins evaluating immediately at the interval you configured.
create_alert tool or the REST API (see below).
Alert episodes
Each time an alert starts firing, Superlog opens an episode — a record with a start time, peak observed value, and (when the condition clears) an end time. Episodes are numbered per alert so you can refer to “Episode #3 of the high-error-rate alert.” WhengroupMode = per_group, each distinct group value (e.g. each service) gets its own episode. Episodes link to any incidents they trigger, making it easy to trace a Superlog incident back to its alerting condition.
Notification channels
- Slack — when your workspace is connected to Superlog, fired alerts can post to a configured channel
- Webhooks — subscribe to
incident.created/incident.updatedto push incident lifecycle and investigation results to any HTTP endpoint
REST API example
You can create alerts programmatically. Authenticate with your management API key andPOST to the alerts endpoint:
id.
The
preview_alert MCP tool evaluates a draft alert spec against current data without saving it — useful for iterating on threshold values before committing.