# Predictive Alerts for Support Teams: Baselines, Not Thresholds

> Fixed thresholds are simple and almost always wrong: Monday morning isn’t Saturday night. Predictive alerts compare nine support-relevant signals with the same time over the last 7 days, say how unusual each is without pretending to forecast, and let policies decide who hears about it.

Source: https://www.ticketresolve.ai/blog/predictive-alerts-baselines-for-support-teams · Published 2026-11-14 · TicketResolve AI

**The best ticket is the one you saw coming. If error rates start climbing at 02:00, the support team that knows at 02:15 can post a status update, prepare a macro and warn engineering, before the morning queue fills up.**

**Most teams try this with fixed thresholds: alert when the error rate passes 2%. Thresholds are simple and almost always wrong. Traffic on Monday morning isn't traffic on Saturday night, and a service that normally sits at 0.1% errors is in trouble long before it reaches 2%.**

Here's how fixed thresholds fail at a company that sells a school-communication app to parents and teachers:

- **Monday 07:30.** Morning traffic is ten times the overnight level. The error threshold of 2% isn't crossed, but errors on the messaging service have tripled from their usual 0.1% to 0.3%.
- **08:15.** Parents can't see messages about a school closure. Tickets pile up.
- **Saturday 03:00, the opposite.** A handful of failed requests on almost no traffic briefly pushes the error rate past 2%. The on-call engineer is paged, finds nothing, and goes back to bed annoyed.

One threshold was too loose for Monday and too tight for Saturday. Within a month, nobody trusts the alerts.

## First, the basics

- **A signal** is something measured over time: error rate, latency, ticket volume.
- **A baseline** is a signal's normal behaviour; here, **the same time over the last 7 days**.
- **A median** is the middle value of a set; it isn't skewed by one extreme day.
- **A robust score** measures how far today's value is from the baseline, in a way one bad day can't distort.
- **Watch, elevated, high risk** are the three alert levels.
- **A policy** decides whether a signal alerts, how sensitively, at which level, to which channels, and how often.
- **A cooldown** stops the same alert repeating too often.
- **PagerDuty** is an on-call paging tool.

**Why does this matter?** Support can do a lot with an hour's warning: a status update, a prepared reply, a heads-up to engineering. Alerts that compare each signal with its own normal pattern catch real problems earlier and wake people less often for nothing.

## The problem, in plain terms

1. **Fixed thresholds** ignore time of day and day of week.
2. **Low-error services** are in trouble long before a generic threshold.
3. **Quiet periods** produce false alarms.
4. **"Outage in 40 minutes"** predictions that don't come true destroy trust.
5. **Everyone gets every alert.**

## Compare a signal with its own history

**TR-AI's predictive alerts compare each signal with the same time over the last 7 days. For every 15-minute window it takes the median of those seven values and how much they normally vary, and asks how far today's value sits from that. A robust score (one that a single bad day in the history can't skew) becomes a level:**

- **Watch.** **Unusual, worth a look.**
- **Elevated.** **Clearly out of pattern.**
- **High risk.** **Far outside anything in the last week.**

**A signal needs 6 hours of history before it is checked at all, so a new connection doesn't spray alerts.**

## Nine signals that matter to support

**Not every metric is a support metric. We picked the ones that turn into tickets:**

1. **Error rate (from Sentry, Datadog, Prometheus and other monitoring tools)**
2. **API latency**
3. **Database latency**
4. **Sign-in failures**
5. **Customer-facing ticket volume**
6. **Crash-looping containers (from Kubernetes, through the agent)**
7. **Synthetic check failures**
8. **Repeated integration failures**
9. **Certificates close to expiry**

**Prometheus metrics come from a handful of fixed, read-only queries every 15 minutes: request rate, 5xx rate, p95 latency, CPU and memory per service. Kubernetes data comes from the TR-AI agent running inside your cluster with a service account that can only list pods and events.**

## An alert is not a forecast

**A level says *how unusual* a signal is right now. It doesn't say an outage will happen. Where TR-AI shows a projection, it says plainly that it assumes the last hour's trend continues.**

**That honesty matters. A team that gets told "outage in 40 minutes" twice, and nothing happens, stops reading the alerts.**

## Policies decide who hears about it

**Each signal has a policy: on or off, sensitivity, the level to notify from, the channels (e-mail, Slack, PagerDuty) and a cooldown. Alerts are deduplicated, and an alert resolves itself after two normal checks. If PagerDuty paged someone, TR-AI resolves its own PagerDuty event when the signal recovers. It never touches incidents it didn't create.**

**PagerDuty also works the other way: incident webhooks, checked against PagerDuty's signing secret, appear in investigations. "Incident #812 opened 12 minutes before the first ticket" is exactly the context an agent needs.**

## A worked example, start to finish

Here's the school-communication app, with predictive alerts. The details are illustrative.

**Setup.** The team connects Sentry and Prometheus, and installs the TR-AI agent in their Kubernetes cluster. After **6 hours of history**, signals start being checked. They turn on **Slack** for the error-rate and sign-in-failure policies and leave the rest on **e-mail** for a week.

**Monday 07:35.** The messaging service's error rate is 0.3%. The **same 15-minute window over the last 7 days** has a median of 0.1%, with little variation. The robust score puts it far outside normal: **elevated**. Slack: *"Error rate elevated on messaging, 0.3% vs a usual 0.1% at this time."*

**07:40.** The support lead, Ingrid, posts a status update and prepares a reply: *"Some messages may be delayed this morning; we're on it."* She warns engineering.

**07:55.** Engineering finds a slow database query introduced last week, fixes it, and errors fall. After **two normal checks**, the alert **resolves itself**.

**08:15.** The ticket pile that would have arrived doesn't. A few parents write in; they get the prepared reply.

**Saturday 03:00.** A few failed requests on almost no traffic. The same window over the last week also has very little traffic and some variation; the score stays within **watch** at most. The policy notifies from **elevated**, so nobody is paged.

**A PagerDuty incident.** The following month, PagerDuty opens incident #812 for the database. Its webhook, checked against the signing secret, appears in the investigation: *opened 12 minutes before the first ticket*. When the signal recovers, TR-AI resolves **its own** PagerDuty event, and leaves the engineers' incident alone.

## Five more real-world scenarios

### 1. A brand-new connection

**Situation.** A monitoring tool was connected an hour ago.

**How TR handles it.** Signals need 6 hours of history before they're checked.

### 2. A certificate expiring

**Situation.** A TLS certificate expires in a few days.

**How TR handles it.** Certificates close to expiry are one of the nine signals.

### 3. One bad day in the history

**Situation.** Last Tuesday had an outage.

**How TR handles it.** The median and a robust score keep one bad day from skewing the baseline.

### 4. Repeated integration failures

**Situation.** A third-party integration keeps failing.

**How TR handles it.** Repeated integration failures are a signal with its own policy.

### 5. A noisy signal

**Situation.** Database latency alerts too often.

**How TR handles it.** Lower its sensitivity, raise its notify level, or lengthen its cooldown.

## Before and after

**Before.** A fixed 2% threshold, a missed Monday morning problem, a pointless Saturday page, and a team that stopped reading alerts.

**After.** An elevated alert at 07:35 against the usual Monday pattern, a status update five minutes later, no ticket pile, and a quiet Saturday night.

## How to tell it's working

- **Support hears** before tickets arrive.
- **Fewer pages** for quiet-period noise.
- **People read alerts** again.

## Who it's for

- **Support leads** who want warning before the queue grows.
- **On-call engineers** tired of false pages.
- **SRE teams** connecting monitoring to support.

## How it fits with the rest of TicketResolve

Predictive alerts use your **monitoring tools**, the **TR-AI agent** in Kubernetes, **synthetic checks**, **integrations** and **ticket volume**. Alerts feed **Alerts explained**, **investigations** and **incidents**, and work with **PagerDuty** in both directions.

## Why the same time over seven days

Most support-relevant signals follow a weekly rhythm: busy mornings, quiet nights, different weekends. Comparing each 15-minute window with the same window over the last seven days captures that rhythm without needing months of data or a complex model. Using the median and how much values normally vary means a single outage in the history doesn't make next week's normal look abnormal.

## Rolling out policies

Start small. Turn on Slack for error rate and sign-in failures, the two signals most likely to become tickets. Leave everything else on e-mail for a week and note which alerts your team actually acts on. Then tune: raise sensitivity where you missed something, lower it where alerts were noise, and add PagerDuty only for the signals worth waking someone up for.

## Mistakes to avoid

- **Paging for "watch".** Notify from elevated or high risk.
- **Treating a projection** as a forecast.
- **Turning everything on at once.**

## Do it in TicketResolve, step by step

**Where:** **Predictive alerts** (`/dashboard/predictive`). **You'll need:** at least one monitoring tool; optionally the TR-AI agent for Kubernetes, and PagerDuty. **Full guides:** [TR Investigate reliability](https://www.ticketresolve.ai/docs/guide/tr-investigate-reliability) and [Incidents: group, review and split tickets](https://www.ticketresolve.ai/docs/guide/incident-workspace).

1. **Connect a monitoring tool** from Connectors.
2. **Wait for 6 hours of history** before signals are checked.
3. **Open Predictive alerts** and review each signal's policy.
4. **Turn on Slack** for error rate and sign-in failures; leave the rest on e-mail.
5. **Set the notify level and cooldown** for each signal.
6. **Connect PagerDuty** for the signals worth waking someone for.
7. **Tune sensitivity** after a week, based on what your team acted on.

**How to check it worked:** alerts show a level against the signal's 7-day pattern and resolve themselves after two normal checks.

## Frequently asked questions

**What's the baseline?**
The same 15-minute window over the last 7 days.

**What are the levels?**
Watch, elevated and high risk.

**How long before a signal is checked?**
6 hours of history.

**Which signals are included?**
Error rate, API latency, database latency, sign-in failures, ticket volume, crash-looping containers, synthetic checks, integration failures and certificates.

**Is an alert a forecast?**
No. It says how unusual a signal is now. Projections say they assume the last hour's trend continues.

**Which channels can notify?**
E-mail, Slack and PagerDuty.

**Does TR-AI close PagerDuty incidents?**
Only its own events, when the signal recovers. Never incidents it didn't create.

**How does Kubernetes data arrive?**
Through the TR-AI agent, with a service account that can only list pods and events.

**Can I see why a signal is at a given level?**
Yes. The alert shows the current value against the usual value for that time over the last 7 days.

**Do Prometheus queries change anything?**
No. They're a handful of fixed, read-only queries every 15 minutes.

**What happens when a signal recovers?**
The alert resolves itself after two normal checks, and any PagerDuty event TR-AI raised is resolved too.
