Rules
The Rules view is where you write the alerts Varqeni investigates when they fire. It reads your Prometheus through the system each rule belongs to.
AvailabilityAvailable to everyone with early access to Varqeni.
Steps
- The list: firing rules come first, then pending, quiet and off. Each shows the rule in plain words, its system and owner, its value now with a line for the last 24 hours, whether it pages or only sends a notice, and when it was last checked. A check that failed shows its reason in red.
- Find a rule: filter by state, system or pages and notices, or search names, systems and expressions. Press a count at the top to show only those. On a keyboard, j and k move, Enter opens and n starts a new rule.
- Write one: choose New rule, give it a name and a system, then either pick a metric (names come from that system's Prometheus as you type), the series it applies to, above or below and a number, or switch to Advanced PromQL. Set how long it must hold, and whether it pages or only tells.
- Checked as you type: Varqeni asks Prometheus while you write. You see whether it is valid, whether it matches right now and a few of the values it would see, or the reason it is refused.
- Backtest: open a rule and replay it over the last 24 hours or 7 days. The strip shades each moment it would have fired and marks the incidents Varqeni opened in that time.
- Change, disable or delete: an admin on the rota edits a rule, turns it off and on, or deletes it; delete asks twice. Everyone else reads.
- History: every change, who made it and its version, from the rules' sealed chain. A deleted rule keeps its history.
- From an incident: an investigation a rule opened says so at the top, with the value that fired it and a link back to the rule. Where your Grafana is connected, Open in Grafana goes to the system's panel for that time.
- The past: while the time bar shows a moment in the past, rules are read only. Go back to live to change one.
What you should see: Rules are kept as they are now; the time bar does not show an older version of a rule. Its history shows every change.
What it can and cannot do
Can
- List every rule with its state and last day of values, write one with live checking against Prometheus, replay it over the last week, and read its sealed history.
Cannot
- Change a rule unless you are an admin on the rota, or change one while viewing the past.
Related articles
- Alert rules that come with a diagnosisWrite a rule on any metric. When it fires, Varqeni investigates and pages with the cause and the evidence, not just the number.
- GrafanaKeep Grafana for your dashboards. Varqeni marks its incidents, deploys and fixes on your charts and links every incident to the right panel.
- Service deskRequests and problem reports in one queue, each with a priority, response and resolution clocks, an owner from the on-call rota and a link to any incident Varqeni already has open.
Still stuck? Contact support or email info@fortisdatagroup.com.