Skip to main content

Alert

An alert is a problem with your data, such as a late dataset delivery or a failed quality check. In ODSL an alert is an object read from the alert service: change its fields and save it to change the alert. To raise an alert, save a SimpleObject with at least a title.

Properties​

NameDescriptionType
_idThe alert id, such as ALR-2026-000401 (ALC- common, ALP- public)String
titleShort descriptionString
messageWhat is wrongString
descriptionMore detailString
categoryA grouping, such as dataset or curveString
issueThe type, such as delivery, completeness, quality, build or exportString
severitycritical, high, medium or lowString
statusopen or closedString
agentWho it is with: client (your team), opendatadsl or a data vendor's nameString
subjectWhat it is about: service, id and ondateObject
keyThe id of the problem, used to count repeatsString
occurrencesHow many times it was raised while openInt
resolutionWhat was wrong and what was doneString
commentSet to add a comment when savingString
tagsYour own labelsList
timelineEverything that happened to the alertList
_versionThe version read, checked when savingInt

See the Alerts reference for every field.

Example​

// Raise an alert about a stale broker feed
n = SimpleObject()
n.title = "NGE.BROKER.NBP prices look stale since Monday"
n.severity = "high"
n.issue = "quality"
n.subject = SimpleObject()
n.subject.service = "dataset"
n.subject.id = "NGE.BROKER.NBP"
n.key = "northgate/stale/NGE.BROKER.NBP"
save ${alert:n}

// Close an alert
a = ${alert:"ALR-2026-000402"}
a.status = "closed"
a.resolution = "Loader fixed; file reloaded at 10:15"
save ${alert:a}