An SLO is only as useful as the SLI behind it. If your checkout SLO stayed green while customers were stuck on a spinning payment button, the problem may have been what you were measuring, rather than the target itself.

Most teams still build SLIs from backend signals like request error rate and p95 latency. Those signals describe backend performance, but they can miss a broken JavaScript bundle, a third-party script that blocks rendering, or a CDN edge serving stale assets to one region. That gap is why SRE teams are pulling real user monitoring (RUM) and synthetic monitoring into their service-level indicators.

RUM SLIs measure what real people experienced during real sessions. Synthetic SLIs measure whether scripted tests of your critical journeys pass on a fixed schedule. Both help fill the gaps in server metrics, but each has its own limitations.

In this post, we cover:

  • When to rethink your SLIs
  • How to choose between synthetic and RUM data
  • How to run both together in Middleware

What are RUM and synthetic SLIs?

A service-level indicator is the number you measure. A service-level objective is the target you hold that number to over a window, such as 99.9% over 30 days. If the terms are new, the SLO chapter of Google’s SRE book provides a useful introduction.

A RUM SLI is built from real browser and mobile sessions. It reflects page loads, errors, and interactions as your users experienced them, on their devices and networks. Middleware RUM captures this through session data, Core Web Vitals, and error tracking, and can connect sessions to backend traces when frontend and backend instrumentation is configured.

A synthetic SLI is built from scheduled tests. A probe sends an API request, runs a multistep API test, or drives a real browser through a scripted flow with browser testing. Each run passes or fails against assertions you define.

How Middleware turns these signals into SLOs

Middleware SLOs are built on the alert rules you already run. You select up to 20 alerts, and the SLO counts a stretch of time as down while any of them is Critical and up otherwise. The SLI is the share of the window spent up.

This design has one practical consequence: your alert condition is your SLI definition. A RUM alert that fires when checkout errors cross a threshold for five minutes defines what a bad five minutes looks like. If that condition misses user-facing failures or triggers too easily, the SLO will give you a misleading view of reliability.

A quick reference for error budgets at a 99.9% target, taken from the Middleware SLO docs:

Rolling windowError budget at 99.9%
7 days10 min 5 s
30 days43 min 12 s
90 days2 h 9 min 36 s

Signs it is time to rethink your SLIs

SLIs drift out of date as your product changes. Here are a few signs that adding RUM or synthetic data could make yours more useful.

Your reliability goals moved from uptime to outcomes

Early on, “the API responds” may be a reasonable starting point. As the product matures, leadership starts asking whether users can actually finish things: book the demo, upload the file, complete the purchase. Server availability cannot answer that. You need an SLI that measures whether the action succeeded from the user’s side.

Your SLOs stay green during real incidents

This is the clearest sign. If support tickets spike, conversions drop, or a Slack channel fills with screenshots while every SLO reads OK, your SLIs are watching the wrong path. Often the monitored route is the happy path you designed, not the one users take. Pull a week of session replays for a key flow and compare the paths you see with the paths you test.

Your burn rate alerts get jumpy at night or on weekends

Ratio-based SLIs struggle when traffic is thin. Three failed requests out of 60 is a 5% error rate. The same three failures out of 6,000 barely register. During quiet hours, a handful of errors can push a short window over its threshold and trigger a page at 3 a.m. without indicating a widespread incident.

That noise teaches people to ignore pages. Synthetic tests provide a steadier sample because they run on a schedule, even when user traffic is low. They still need enough runs to support the target you choose.

Incidents start in the browser, not the backend

A bad frontend deploy, an expired certificate on a static asset domain, or a regional CDN issue can break the experience while every backend metric looks healthy. If your recent postmortems keep landing on the frontend, your SLIs need data from the frontend too.

How to choose between synthetic and RUM data

Use synthetic SLIs for consistent checks and RUM SLIs to understand what real users experience. The right mix depends on your traffic, your audience, and what the SLO is protecting.

It is tempting to assume RUM always wins because it is “real.” In practice, bots, ad blockers, browser extensions, and traffic swings add noise that can hide the trend you care about. Synthetic data is clean and predictable, but it only knows the paths and conditions you scripted.

AspectSynthetic SLIsRUM SLIs
Data comes fromScheduled probes and scripted browsersReal user sessions
Measured whenEvery test run, on your scheduleWhenever users trigger the action
StrengthConsistent coverage at any traffic levelReal devices, networks, and inputs
Weak spotMisses short or device-specific failuresNoisy at low volume, skewed by bots
Best forEnd-to-end journey availability, release regressionsHigh-value actions like payments and signups
Middleware featureSynthetic Monitoring and Browser TestingReal User Monitoring

Use synthetic SLIs for steady coverage

Synthetic tests run whether you have ten users or ten thousand. That makes them useful for measuring journey availability when traffic varies.

In Middleware, you pick the request type (HTTP, gRPC, WebSocket, DNS, SSL, TCP, and more), define assertions, choose probe locations, and set a schedule. The synthetic monitoring docs suggest running critical APIs every 30 to 60 seconds and less critical checks every 1 to 5 minutes. You can also require several failures across locations before an alert fires, which keeps one flaky probe from burning budget.

Where synthetic SLIs fall short

Granularity is capped by your schedule. A test that runs every 10 minutes cannot see a 4-minute outage that starts and ends between runs. Those small misses add up. Over a 30-day window, you can end up with a green SLO while users hit the same intermittent error dozens of times.

Tight targets break the math. With a 99.99% target over 7 days, your whole error budget is about one minute. If a test runs every 5 minutes, a single failed run can hold its alert in Critical until the next passing run. That one failure burns roughly five times your budget. For very tight targets, either run the test more often or set the SLO on a longer window.

Scripted users are polite users. Probes run on clean browsers, from data centers, with perfect inputs. Unless you include those conditions in your tests, they may miss a checkout form that breaks on an older Android WebView or rejects a phone number pasted with spaces.

Where synthetic SLIs shine

The flip side of a fixed schedule is consistency. Your synthetic SLI means the same thing at 3 a.m. on Sunday as it does at noon on launch day. That makes it ideal for two jobs:

  • Journey availability. Script the full flow and judge it as a whole. For a B2B invoicing app, that could be: sign in, open a client, create an invoice, add line items, and export a PDF. Include timing assertions as well as completion checks so a journey that succeeds too slowly can still fail the test.
  • Release regression checks. Compare synthetic results before and after a deploy. Pair them with deployment tracking so you can see which release started the burn.

When a run fails, the synthetic Data Explorer breaks the request into DNS, connect, TLS, and server time, and shows which locations failed. Failures in one region can suggest a network or CDN routing issue. Failures across all regions are a reason to check the origin or a shared dependency.

Use RUM SLIs for what users actually experience

Synthetic tests check a defined path at intervals. RUM captures activity across instrumented sessions, including page loads, Core Web Vitals, JavaScript errors, and failed network calls as they happen.

With enough traffic, that stream can reveal short-lived failures between synthetic runs. It also catches conditions your scripts may not cover: old devices, slow mobile networks, odd browser settings, and unexpected input.

Where RUM SLIs get noisy

Collection is not guaranteed. Ad blockers, privacy extensions, and strict browser settings can stop the RUM script from loading at all. Bots and crawlers can inflate session counts or trigger errors no human would see. Filter known bot traffic and expect some sessions to be missing.

Traffic swings move the numbers. RUM ratios shift with time of day, weekends, marketing campaigns, and seasonal peaks. A 2% error rate at peak and a 2% error rate at 4 a.m. can represent very different user impact.

Averages hide segments. A healthy global number can mask a broken experience on Safari, in one region, or on one app version. Use the RUM session explorer to split results by browser, device, location, and release before you trust an aggregate.

A few habits help: use an evaluation window long enough that a handful of errors cannot trip the alert, scope RUM alerts to the exact page or action the SLO protects, and use status corrections for documented false alerts or planned maintenance. Filter bot traffic at collection or query time rather than routinely excluding genuine failures.

Where RUM SLIs shine

The variation that makes RUM harder to tune is also what makes it valuable: it shows how the application behaves across real devices, networks, and user actions.

Save RUM SLIs for the small set of actions where even a minor dip deserves attention:

  • Payment or checkout submission
  • Account signup and login
  • The core action of your product, such as sending a message, publishing a post, or running a report

With frontend and backend correlation configured, Middleware connects RUM sessions to backend traces and logs. An SLO consuming its error budget gives you a path into the investigation. You can move from the failing action to the exact session, the API call it made, and the service involved.

Put RUM and synthetic SLIs together in Middleware

RUM and synthetic data answer different questions, so use them together. Synthetics tell you whether the tested journey works under the conditions you configured. RUM tells you whether real users can finish the steps that matter most. Here is how that looks for an online store’s checkout.

  1. Create a journey SLO from synthetics, where supported. Build a browser test that searches for a product, adds it to the cart, and reaches the order confirmation page. Run it every 5 minutes from three regions and require failures in at least two locations before it alerts. If the resulting alert is available in the SLO builder, set the SLO to 99.5% over 30 days. [Editor note: confirm with product that synthetic and browser test alerts can be selected in the SLO builder. The current SLO docs list Metrics, Host, Logs, APM, RUM, LLM, Billing, Anomaly, Forecast, and Error Tracking alerts.]
  2. Create an action SLO from RUM and APM. Add a RUM alert on failed checkout submissions and an APM alert on the payments endpoint’s error rate. A single SLO can hold up to 20 alerts and counts as down whenever any one of them is Critical, so the frontend and backend views of the same action share one budget. Set it to 99.9% over 30 days.
  3. Alert on the budget, not on every blip. Add an SLO alert on each SLO. Use burn rate mode with a long and a short window, such as 6 hours and 30 minutes, so pages fire only when both agree. Add an error budget alert at 80% consumed as an early warning for the team.
  4. Exclude what should not count. Add recurring status corrections for planned maintenance so those windows neither burn budget nor pad your uptime.
  5. Investigate from the SLO. When budget starts burning, the SLO details panel shows which alert drove the downtime. From there, jump into the RUM sessions and session replays behind it, follow the request into traces and logs, and let OpsAI suggest a root cause and fix.
  6. Review trends, not just status. Switch the SLO list to daily, weekly, or monthly columns to see whether a breach was a sudden incident or a slow slide that started weeks ago.

How to read the two signals together

The real value shows up when the two SLIs disagree.

Synthetic SLIRUM SLIWhat it usually means
BurningHealthyA regional, DNS, or CDN problem on the probe path, or a broken test script. Check failing locations first.
HealthyBurningReal users hit something your script does not cover: a device, browser, input, or segment. Split RUM data by browser and region.
BurningBurningA failure affecting both probes and users. Start with recent deployments and backend traces.
HealthyHealthy, but conversions dropYour SLIs may miss a step, or conversions may have changed for another reason. Compare session paths with the paths you test.

If customers rely on a public status page, pair these SLOs with Middleware Status Page to keep customers informed while your team works the incident.

Get started with RUM and synthetic SLIs in Middleware

An SLO becomes less useful when its SLI no longer reflects how people use your product. Synthetic tests provide consistent checks of critical journeys, while RUM shows how those journeys perform for real users.

Middleware puts RUM,synthetic monitoring, APM, logs, and SLOs in one platform, so you can define the target, watch the budget, and find the cause without switching tools.

To go deeper, read the docs on creating SLOs from alerts and setting up alert rules. For the alerting math behind multiwindow burn rates, the Google SRE Workbook chapter on alerting on SLOs is worth a read.

FAQs

What is the difference between a RUM SLI and a synthetic SLI?

A RUM SLI is measured from real user sessions, so it reflects actual devices, networks, and behavior. A synthetic SLI is measured from scheduled tests that simulate users, so it gives consistent coverage regardless of traffic.

Should I use RUM or synthetic data for my SLOs?

Use both. Synthetic SLIs work best for end-to-end journey availability and regression checks. RUM SLIs work best for a few high-value actions, such as payments and signups, where you need to know what real users experienced.

Why are my burn rate alerts noisy during low traffic periods?

Ratio-based SLIs have small denominators when traffic is low, so a few errors create a large error rate in a short window. Use longer evaluation windows, require both long and short burn rate windows to agree, or lean on synthetic SLIs during quiet hours.

How does Middleware calculate an SLO?

Middleware SLOs are built on existing alert rules. The SLO is down while any selected alert is Critical and up otherwise. The SLI is the share of the 7-, 30-, or 90-day window spent up.

Can one SLO include both frontend and backend signals?

Yes. A Middleware SLO can track up to 20 alerts of different types, such as a RUM alert and an APM alert for the same action. The SLO counts as down whenever any of them is Critical.

How often should synthetic tests run for SLO purposes?

Match frequency to the SLO’s precision. Critical APIs typically run every 30 to 60 seconds. Very tight targets, like 99.99% over 7 days, need frequent runs, because one failed run on a slow schedule can consume the whole budget.