Skip to content

Diagnostics

Faizaan Shamsi edited this page Sep 18, 2017 · 1 revision

Diagnostics

Overview

An admin needs to be able to see why a user didn't receive a given alert. The diagnostics page for a subscriber lets them enter an alert_id and a datetime and get back a report of what filters passed/failed against that alert for each subscription.

Versioning

Since subscriptions, alert, vacation periods, and do_not_disturb periods can all change, it's necessary to be able to capture the state as it existed on a given datetime. To do this we store every change to a user, subscription, informed_entities, and alert.

Snapshot

From the version we can recreate the state of a user and their subscriptions, as well as a given alert. From there we use the same filters that we apply in the rules engine to determine what passed/failed.