Glenr

reference

Alerts

Glenr emails you when something is wrong that you did not just start. The email says what happened, how serious it is and what to do. One problem is one email thread, and the thread ends with an all-clear.

What Glenr tells you about

Glenr sends an alert for two kinds of event in an environment.

KindWhat happenedExample sentence
IncidentA resource that was serving stopped serving, or serves in part.web ran out of memory and was restarted.
Deploy failureA deploy did not finish, or the new version did not become ready.The new version of api did not become ready in time. The earlier version still serves.

Every alert uses Glenr's own sentence for the cause. It never shows the raw text a zone or a container runtime reports. Each sentence comes with a next step, or with No action needed.

What Glenr leaves unsent

A restart that your own change or Glenr's work causes is not a problem. Glenr treats a resource that stops serving during one of these as a planned restart: the console shows it as progress on the resource and no alert goes out.

CausePlanned window
A deploy, restart, configure, rollback, restore or resume of the environmentWhile the deployment runs, up to 15 minutes after it started, and 5 minutes after it finishes. The window ends at the earlier of the two times.
Glenr maintenanceThe same window.
A move of the environment to another locationWhile the move runs, and for 5 minutes after it finishes.

Planned is decided for the whole environment. A change that restarts every resource in it counts for every resource. When the window ends and a resource is still not serving, Glenr starts the wait described below, and the alert follows if the problem lasts.

When the first email goes

An incident waits 5 minutes before its first email. A resource that serves again inside those 5 minutes sends nothing. A failed deploy has no wait: Glenr emails it at its next check.

A resource that stops serving a third time inside 30 minutes is flapping. Glenr emails about it after the 5 minutes even when it has recovered in that time.

One problem, one thread

Each environment has at most one open thread. A failed deploy, an incident and a later failure in the same environment join it. Every email of a thread has the same subject, Alert in <cell> / <environment>, and the standard mail threading headers, so a mail client groups them.

EmailWhen it is sent
OpenThe first alert of the thread: an incident after its 5-minute wait, a failed deploy at the next check.
UpdateAnother resource joins the thread, or the severity rises. At most one update every 10 minutes.
All-clearEvery entry of the thread is over. An incident is over when its resource has served for 2 minutes, or was deleted or paused. A failed deploy is over when a deployment that covers its resource goes live, or the resource was deleted or paused. In a thread that also holds an incident, a failed-deploy resource that has served for 2 minutes is over as well. The email states the start, the end and the duration.

A thread with no new entry for 24 hours closes without an all-clear.

Severity

Glenr reads the number of ready and desired instances each time it checks a thread, and puts one word in the email.

SeverityMeaning
criticalThe resource serves nothing: 0 of its instances are ready, or a deploy failed and no earlier version runs.
warningThe resource serves in part, or the earlier version still serves.
infoThe all-clear. The problem is over.

A resource that reports no instance counts, such as a database, is warning. A deploy of the whole environment that fails takes the worst current severity among the resources outside a planned window, and warning when every resource is inside one.

What an email contains

LineContent
SubjectAlert in <cell> / <environment>
First sentenceWhat happened, from Glenr's sentence for the cause.
SeverityThe word and what it means for this resource.
What to doThe next step, or No action needed.
Still servingOn a failed deploy: the earlier version that keeps serving, with its short version and deploy time, or the statement that no earlier version runs.
Open in GlenrA link to the resource in the console.
FooterWhy you receive it and a link to the environment's Alerts page, where you change it.

Who is mailed

Glenr mails the people it mailed for a failure before: the Admins and Engineers of the cell, or the Owners when the cell has none assigned, and the person whose act failed. Your setting for an environment filters that group. It adds nobody: a member outside that group is mailed nothing at any level.

Each member chooses a level per environment on the environment's Alerts page.

LevelYou are mailed
Everything (all)Incidents and deploy failures, and their all-clears.
Incidents only (incidents)Incidents and their all-clears. No deploy-failure email.
Nothing (off)Nothing.

With no choice stored, a production environment reads all and every other environment reads off. A member who turned off failure emails on their account page reads off in every environment until they choose a level for one. Choosing all or incidents for a staging environment turns alerts on for that environment for you.

An environment can also send each alert to a webhook or a Slack channel. See Alert webhooks and Slack.