Symptom-based alerting with Prometheus

Symptom-based alerting pages on what users and downstream consumers feel, not on every internal cause. This page explains how to rewrite noisy Prometheus alerts into a small set of symptom alerts and what that work involves.

On this page

Why symptom-based alerting with Prometheus cuts noise

Symptom-based alerting cuts noise by paging on what users and the business feel, such as slow or failing requests, stale data and missed batch runs, instead of on the internal causes that may or may not matter. If your Prometheus estate pages on high CPU, full disks and pod restarts, you are probably waking people for conditions that users never notice, while the one problem that does hurt customers arrives as a page buried in a flood. A symptom alert describes an observable effect on a service, such as error ratio or request latency over a window. A cause alert describes a suspected internal condition, such as one host at 90 percent CPU. Teams need symptom alerts first for user-facing online services and for offline pipelines whose output people depend on, and they keep cause-based rules mainly as tickets, dashboards or capacity warnings that someone must act on.

The Prometheus documentation favors reliability over precision, and it is open about the trade-offs of its monitoring model. That stance means alert design is a judgment the team owns, not a default that ships with the software. Prometheus evaluates the rules you write, and it will page on exactly what they say, so a rule built on a guess about cause will fire reliably on the wrong thing. Before rewriting anything, list the alerts that fired in the last quarter, mark which ones led to a user-visible action, and confirm with the on-call team which signals they trust. That inventory tells you which cause alerts to demote and which symptoms are missing.

The rewrite is a small set of rules with clear owners, not a larger set of rules. Decide which services need an error ratio and latency alert, which pipelines need a data delay alert, and which batch jobs need a success recency alert, then check that each one maps to a runbook a responder can follow. Keep capacity warnings separate and only page for them when someone can act before users are affected. Review the rules with the people who receive the pages, and treat each page that did not need action as a defect in the rule to be fixed.

Which symptoms to alert on for each workload type

Each workload type fails in a different way, so each needs a different symptom to page on. The cards below cover the four patterns a symptom-based rule set usually needs, and they share one test: does the alert describe what users, data consumers or capacity owners experience, or does it describe one internal component that may not matter yet?

Online services: latency and errors

For request-serving services, page on the share of requests that fail and on the latency users actually see, measured at the edge or at the service boundary. Use error ratio over a window rather than counts of failed pods or restarts, since a restart that users never notice is not an incident. Check that latency comes from histogram buckets your service exports, and that the error definition matches what your clients treat as failure, including 5xx responses from upstream dependencies.

Offline processing: data delay

For pipelines that move or transform data on a schedule, the symptom is how stale the output is, not whether a worker is healthy. Measure the age of the newest record in the target table or the lag between event time and availability, and alert when that age exceeds the freshness promise you made to consumers. Confirm with the data owners what freshness they depend on, because a dashboard that is one hour late and a fraud model that is one hour late need different thresholds.

Batch jobs: success recency

A batch job that never runs emits no failure metric, so alert on the time since the last successful completion instead. Prometheus alerting best practices suggest paging when a job has not succeeded for long enough to cover at least 2 full runs. For a job that runs every 4 hours and takes 1 hour, the documented threshold is 10 hours. Export a last-success timestamp from the job, and confirm that a Pushgateway or textfile setup keeps that timestamp when the job ends.

Alerting best practices

Capacity: warnings that need action

Capacity alerts only earn a page when someone can act before the limit is reached. Use a projection, such as predicted disk fill time from a recent trend, and route it to a ticket or a daytime channel if the remaining time is long. Reserve paging for a short horizon, and confirm with the owner of each resource what lead time they need to add disk, nodes or quota. A static usage percentage without a runway estimate usually produces alerts that people silence.

How to rewrite a cause-based alert into a symptom alert

Teams that page on CPU, memory, disk and restart conditions usually have a long list of rules that each fire for reasons nobody can connect to a customer impact. The fastest route out is to map each cause to the user-visible symptom it predicts. High CPU on a web tier matters only if it slows requests or raises errors, so the question for each rule is which request metric would move if this cause were real. Start with the rules that page most often, because they carry the most fatigue and the most room for change.

  • Map each cause to a symptom: For every rule, write the user-facing outcome it predicts, such as slow responses, failed requests or stale data, and note whether the cause sometimes occurs without that outcome.
  • Keep causes as dashboards or tickets: Resource signals that do not reliably predict impact move to dashboards, or to tickets when they need follow-up, rather than being deleted.
  • Count pages before and after: Record how many pages each rule produced over a recent period so the review uses real volume, not impressions.
  • Review with on-call before removing pages: Walk the on-call rotation through each proposed change and collect objections, especially for rules tied to incidents people remember.
  • Roll out in stages: Downgrade noisy pages first, keep the symptom alert running alongside the old rule for a trial period, then remove the old page.

Before removing any page, confirm that the symptom alert would have fired during past incidents that the cause alert caught.

How symptom alerts flow from Prometheus rules to on-call

The path starts with scrape targets that Prometheus pulls metrics from over HTTP. Recording and alerting rules then evaluate PromQL symptom expressions, such as error rate and latency, and an alert fires only after its for duration holds. Firing alerts go to Alertmanager, which groups, inhibits and silences them before sending to receivers. Cause metrics stay on the dashboard and ticket side of the flow, so they never reach the paging receiver. Check that every Prometheus instance points at every Alertmanager instance.

Symptom alerts reach on-call through Alertmanager, while cause metrics stay on dashboards and tickets.

Alert design options and when each fits

This table compares the main design choices when rewriting cause-based alerts into symptom alerts in Prometheus. Read each row for the situation it fits, the trade-off it carries, and what to confirm in your own environment before you commit. The main takeaway is that faster detection and fewer false pages pull against each other, so each choice should match the cost of a missed problem.

Design choiceWhen it fitsTrade-offWhat to confirm
Symptom pageUser-facing latency, error rate or availability is what customers feel and needs a human nowPages less often on internal noise, but can fire without an obvious internal causeWhich users and endpoints the alert covers and who is on call
Cause ticketInternal signals such as a full disk, a retry queue or a pod restart that need follow-up but not immediate actionLower interrupt cost, but the problem can grow unnoticed if no one reviews the ticketWho triages tickets and how fast they are reviewed
Instant firing (no for clause)Hard failures where any occurrence is significant, such as a target that disappears entirelyFastest detection, but short spikes and scrape gaps can produce false pagesWhether scrape gaps or brief blips are common in your environment
Duration firing (for clause)Error and latency symptoms that naturally fluctuate and should only page when sustainedAdds delay before the first notification, which lengthens time to detectThe duration that separates normal spikes from sustained impact for each service
Error ratio thresholdServices with variable traffic, where the share of failed requests matters more than the raw countLow-traffic periods can swing the ratio sharply and create false pagesMinimum traffic level before the ratio alert is evaluated
Absolute error count thresholdServices with steady traffic, or where any fixed number of failures is unacceptableBreaks down as traffic grows or drops, and may need retuning over timeTypical traffic levels and how they change across the day and week
Batch recency windowScheduled jobs where the time since the last success is the signal, such as jobs that should run every few hoursA wider window reduces false pages but detects missed runs laterRun interval, typical run duration and how many missed runs you can tolerate
Data delay alertOffline pipelines where the newest processed record should stay within an agreed lagNeeds a reliable freshness metric, and a stalled source can look like a delayed pipelineWhich business timestamp defines freshness and who owns the lag target
Capacity warning as ticketTrends such as disk growth or connection pool use that need planning before they become an outageGives time to act, but warnings may be ignored if no owner reviews themLead time needed to add capacity and the owner for each resource
Capacity warning as pageResources where exhaustion causes immediate customer impact and no quick mitigation existsFastest response, but a page for a trend that could wait becomes noiseWhether the resource can be expanded or cleared quickly by on-call staff

Setup sequence for symptom alert rules

This sequence replaces cause-based paging with a small set of symptom alerts that your teams can trust, and it proves each change against real behavior before old pages are removed. Each step ends with a check you can review before moving on.

  1. Inventory current alerts and pages

    Export every alerting rule in your Prometheus configuration and pull the last few months of pages and notifications from Alertmanager and your on-call tool. Group them by service and by the action an engineer took in response. Mark alerts that paged someone but required no action, and alerts that always fire together. The inventory is done when every current page maps to a service and a response, and you have a count of pages per service to compare against later.

  2. Agree user-facing symptoms with service owners

    For each service, meet with its owners and agree on the one or two symptoms users or downstream consumers actually feel. For online services this usually means latency and error rate. For offline processing, it means how stale the output is. For batch jobs, it means how long since the last successful run. Record the agreed symptom, the owner, and the response expected when it fires. This step is complete when each service has a written symptom list that its owner has signed off on.

  3. Write PromQL expressions and for durations

    Translate each agreed symptom into a PromQL expression that uses metrics your services already expose, and choose a for duration that filters brief spikes without delaying a real page. Keep capacity warnings separate and label them so they route to tickets, not pages. Check each expression in the Prometheus expression browser against recent data to confirm it returns sensible values. Done means every symptom has a rule file entry with a reviewed expression, for value and severity label.

  4. Test rules with promtool before deploy

    Write promtool test rules cases in your CI pipeline. Feed in synthetic input series that represent a healthy service, a slow service, a service with elevated errors, and a stalled batch job, then assert which alerts fire and with which labels at which times. Run promtool check rules on every change. The step is complete when the test suite passes in CI and a failing expression blocks the merge.

  5. Route pages through Alertmanager

    Configure Alertmanager routes so that page-severity symptom alerts go to the on-call receiver of the owning team, and ticket-severity capacity warnings go to a non-paging receiver. Set group_by so related alerts arrive together. Confirm routing with the Alertmanager routing preview or a test alert for each team. The check is that every symptom alert reaches exactly one intended receiver and no page-severity alert lands in a shared default channel.

  6. Run symptom and cause alerts in parallel

    Deploy the new symptom rules next to the existing cause-based rules and route the new alerts to a shadow channel or a non-paging receiver for a trial period set by your team. Compare each new alert with the old pages for the same incidents. The check is a daily or weekly review of page volume per service, plus a record of any real incident the symptom rules missed. Do not remove old pages until the review shows the new rules cover the incidents your team cares about.

  7. Replay incidents to confirm each alert fires

    Pick past incidents from your inventory and replay or reconstruct their metric data in a staging Prometheus or through promtool input series. Confirm that each agreed symptom alert fires during the incident window and stays quiet during normal operation. For batch jobs, confirm the staleness alert fires after the threshold your owners agreed on. Record which incidents each rule catches. The step is done when every high-severity past incident is caught by at least one symptom rule.

  8. Retire cause pages and document the change

    Remove the cause-based page rules that the parallel run and incident replay have shown are redundant, and keep useful cause alerts as tickets or dashboards only. Update the runbook for each symptom alert so the on-call engineer knows the first diagnostic steps. Store the rule files, tests and routing config in version control with a change record. The sequence is complete when page volume per service matches the agreed targets and the change record names the owner of each remaining alert.

What drives the effort and cost of rewriting alerts

Prometheus itself carries no license fee. It is licensed under Apache-2.0 and has no paid enterprise edition, so the cost of rewriting alerts is almost entirely people time: engineers who inventory existing cause-based rules, owners who agree on symptom thresholds, and the on-call change process that approves new paging behavior. Ask any partner to split the quote into implementation work (rule inventory, PromQL rewrites, promtool tests, Alertmanager routing changes) and review work (threshold workshops, on-call sign-off, rollout monitoring). Ask which parts are one-time and which recur, such as periodic threshold reviews after services change.

The biggest effort drivers are the number of services that page today, the quality of existing metrics and labels, and ownership clarity. A service with request and error counters labeled by route and status code can be converted to a latency and error-rate alert in a few sessions, while a service that exposes only host-level metrics needs instrumentation work first, which the Prometheus alerting best practices treat as the basis for page-worthy rules. Missing or inconsistent labels, such as different job names across environments, multiply the rules to write and test. Where no team clearly owns a service, nobody can approve its thresholds, so ownership mapping should be scoped before any rewriting starts.

Count how many teams must agree before a rule changes. Each team that receives pages needs to accept fewer, symptom-based alerts in exchange for losing some cause-based ones, and that trade-off often takes several review rounds. Confirm with the client's on-call lead who signs off, how long a shadow period runs where old and new alerts fire side by side, and who owns the rollback. Ask the partner to name the client inputs it needs: a current alert inventory, recent incident reviews, service owner contacts, and access to a staging Prometheus for testing. Work that depends on these inputs arriving late usually extends the schedule more than the rule writing does.

Security and operational considerations for alert rules

Alert rules and Alertmanager routing decide who gets paged and what gets recorded, so they carry security and audit weight alongside monitoring value. The four cards below cover the controls to set before symptom alerts go live: version control, closed admin endpoints, encrypted and authenticated access, and retained alert history.

Keep rules as reviewed code

Store every alerting rule file and the Alertmanager configuration in version control, and require a second reviewer before a change reaches production. A silent edit to a latency threshold or a route can hide a page for an entire service, so the review should check which symptom each alert covers and which receiver it reaches. Run promtool check rules and the Alertmanager configuration check in the pipeline so syntax errors never reach a running server. Ask who may merge changes and whether production deploys are logged.

Alerting best practices

Disable admin and reload endpoints

Prometheus keeps its admin HTTP APIs disabled by default. The --web.enable-admin-api flag enables destructive operations such as deleting series, and --web.enable-lifecycle enables reload and shutdown endpoints. Leave both off unless a specific automation needs them, and if you enable reload, restrict it to the pipeline account. Anyone who can reach an open shutdown endpoint can stop monitoring during an incident, so confirm the setting in every environment, including staging copies that may face the same network.

Prometheus security model

Encrypt and authenticate every endpoint

Prometheus supports TLS and client certificate authentication with TLS 1.2 as the minimum, and HTTP basic authentication with bcrypt-hashed passwords. Basic authentication without TLS exposes credentials in cleartext, so never enable it on a plain HTTP listener. Apply the same rule to Alertmanager, because its web and cluster traffic carries alert contents and receiver credentials. Prometheus has no built-in single sign-on, so place an authenticating reverse proxy in front of the web UI and API when people need named access. Confirm who can reach the query and API ports from each network segment.

Security model details

Retain alert history as evidence

Alert firing and resolution records show when a symptom breached its threshold, when someone was paged, and when the condition cleared. Keep them for the period your audit or incident review requires, which is set by your own policy rather than by Prometheus defaults. Prometheus local storage keeps data for 15 days by default and is not replicated, so export alert history through remote write or your own long-term store. Record who changed a silence in Alertmanager and check that those records survive restarts and cluster failover.

Questions teams ask before rewriting Prometheus alerts

How much does it cost to rewrite Prometheus alerts into symptom-based alerts?

The cost comes from people's time, not from the software, because Prometheus is licensed under Apache-2.0 and has no paid edition of its own. Costs fall into three groups: the engineering work to write and test rules, the infrastructure that runs Prometheus and Alertmanager, and the ongoing time your team spends running them. Work is usually priced as a fixed scope agreed in writing, so ask for a quote that lists the services in scope, the alert rules to be written or retired, the notification channels to be tested, and the handover material. DeployOpen does not publish a price list, and a quote follows from that written scope.

How long does a symptom-based alerting rewrite take?

Duration depends mostly on how many services you run, how many teams own them, and how many alerts currently exist. A rewrite for a handful of services with clear owners is far shorter than one spanning dozens of teams with undocumented alerts, because each service needs its latency, error, data delay or job recency signals identified, agreed and tested. Ask for a timeline that breaks the work into service groups, with a review step for each owner. Do not accept a single duration without knowing which services it covers and who signs off on them.

What does the work need from our team?

The rewrite needs named owners for each service, read access to the metrics those services expose, and time from on-call engineers to review which alerts actually woke them up. Owners decide what good latency and error rate targets look like for their service, so an engagement without them produces rules nobody trusts. Plan for a few review sessions per service group and for someone who can approve changes to Alertmanager routing. Confirm these commitments in the written scope so the schedule does not depend on people being available ad hoc.

Can our in-house team rewrite Prometheus alerts without a partner?

Yes, many teams do this internally, provided they have someone who understands PromQL, the services being monitored and the on-call load. The main risks are not technical: teams often keep their cause-based alerts because they are familiar, or they leave out the service owners who know which thresholds matter. A useful self-check is to list every current alert, mark which ones are symptoms and which are causes, and count how many pages came from each in the last quarter. If that review stalls, an outside partner can take over the analysis and testing.

How do we confirm that the new alerts work?

Confirm the outcome with tests and a trial period, not by inspection alone. Unit tests with promtool test rules check that each rule fires with the expected labels at the expected time, and that it stays quiet for healthy input. Then run the new alerts alongside the old ones for an agreed period and compare what each would have paged. For batch jobs, Prometheus alerting best practices suggest paging when the job has not succeeded recently enough, generally at least enough time for 2 full runs; for a job that runs every 4 hours and takes an hour, 10 hours is given as a reasonable threshold (Prometheus alerting best practices).

Does symptom-based alerting mean we will miss real problems?

Not if the symptom alerts are designed around user impact and the causes are kept as dashboards or lower-severity signals. Prometheus values reliability over precision, so no alert set is a guarantee that every fault is caught, and the Prometheus overview says it is not a good choice where 100% accuracy is required. The practical risk is a gap in coverage for a service nobody modeled, so inventory each service and its user-facing signal before retiring any existing alert. Retirement should happen only after the replacement has been observed in practice.

What does the engagement cover beyond writing the rules?

Writing the rules is one part of the work. A complete engagement also covers the inventory of current alerts, the mapping of each service to its symptoms, routing changes in Alertmanager so the right team is paged, testing in CI, and documentation that explains each alert and its runbook. It may also cover retiring old alerts and training on-call engineers to read the new ones. Ask for the list of deliverables in writing, and check whether notification channel setup and meta-monitoring are included or handled as separate work.

Who maintains the alert rules after the rewrite?

Your team maintains them after handover, and the design should make that practical. Rules live in version control, are tested before deployment, and carry owner labels so a change request reaches the right people. Ongoing support, upgrades and continuous testing can be covered by a retainer if you want outside help beyond the initial scope. Confirm before work starts who approves rule changes and how often the thresholds are reviewed.

How DeployOpen scopes and delivers symptom alerting

DeployOpen plans and implements symptom alerting inside your own infrastructure, on the Prometheus and Alertmanager instances you already run or that we deploy in your cloud accounts, data centers or air-gapped network. The work starts with a written scope that names the services in the rule set, the owning teams, the notification receivers, and the environments involved. Before that scope is agreed, we ask you to confirm which metrics each service exports, whether the latency and error histograms are complete, and which batch jobs have a known schedule. Those answers decide how many rules the engagement covers and how much effort the discovery phase needs, so they belong in the quote request rather than being estimated afterward.

The delivery covers the symptom rules themselves, unit tests for them, and the runbook changes that go with each page. Rules are written in PromQL and tested with promtool in CI so a change to a latency or data delay threshold is checked before it reaches production. Runbooks are updated so each remaining alert links to the first diagnostic steps, the owning team and the dashboard that shows the symptom. Cause-based alerts that are retired are listed with their replacement, so reviewers can confirm nothing important was dropped. Handover includes the rule repository, the test suite, a walkthrough with on-call engineers and a short list of the thresholds that need an owner's sign-off.

Symptom alerting needs ongoing tuning as traffic, services and team ownership change, so continuous tuning is available as a DeployOpen retainer. Under a retainer we review alert volume, adjust thresholds for seasonal load, and retest rules after upgrades of Prometheus or Alertmanager. Ask any provider to confirm in writing what response times, review cadence and coverage hours apply, because those terms vary by agreement and should not be assumed. Your own team also needs to keep ownership of the threshold decisions, since a symptom alert is only as good as the business impact it was written to protect.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.