How do alerts work in Manalens?

An alert counts one custom event in each completed five-minute UTC window. Page views do not count. The condition is at least N, for spikes, or fewer than N, to learn when an event stops. The count can be from 1 to 1,000,000, and up to 10 filters can narrow the events, such as the build, the platform or an event property.

A fewer than alert checks a window two minutes after it ends, so late events still count. Delivery is at least once, with up to five attempts. You can send five test messages per minute per alert.

Sources: Manalens alerts documentation.

What does an example look like?

Example numbers: your game normally sends about 40 game_open events in each five-minute window. You create one alert for game_open fewer than 5, to learn when a patch breaks the launch. You create another for error at least 50 with the filter build = 571, to catch a crash spike in the new build.

Sources: worked example; Manalens alerts documentation.

Why do alerts matter for indie PC and web games?

A launch day or a sale brings most players in a few days. A broken build that you find a week later costs refunds and reviews. An alert tells you within minutes. Slack incoming webhooks post messages from apps into Slack, and their URL starts with https://hooks.slack.com/services/.

Sources: Slack documentation: incoming webhooks; Manalens alerts documentation.

Frequently asked questions

Can an alert tell me that a build stopped sending events?

Yes. Use the condition fewer than. A window with no events fires, and fewer than 1 means no events at all. The alert starts with the first full window after you create it and does not fire before your project receives its first event.

Where can an alert send a message?

To Slack, through an incoming webhook URL that starts with https://hooks.slack.com/services/, or to any public HTTPS webhook. Webhooks receive signed JSON. Delivery is at least once, with up to five attempts, so a receiver can drop duplicates by the payload id. You can send five test messages per minute per alert.

Do page views count in an alert?

No. An alert counts one custom event in each completed five-minute UTC window, and page views do not count. Up to 10 filters can narrow the events, such as the build, the platform or an event property. The count can be from 1 to 1,000,000 events in one window.

Sources and implementation