Skip to main content

Pingara Verdict: knowing what good looks like for your pages

Pingara Verdict learns what each of your pages normally looks like and alerts you when a page loads but breaks, once enough regions agree.

By James Pepper7 min read

Here's a kind of outage I've always hated, because it's so quiet.

Your monitor checks your home page. The server answers 200 OK, quickly, like it always does. Green tick. Meanwhile, the people actually visiting see a blank white page, because the main JavaScript file didn't ship with the last deploy. Or they see "Something went wrong" in a box where your product used to be. Or half the page has simply gone.

A check that only reads the status code would stay green through all of that. The server is fine. It's the page that's broken.

Today we're releasing Pingara Verdict, and it's the most ambitious thing we've built so far. The idea behind it is simple to say and hard to do well: Pingara should know what good looks like for each page you monitor, so it can tell you when a page loads but isn't right.

What good looks like, learned for you

Turn on broken-page detection for an HTTP monitor that uses GET (it's part of Pro), and Pingara starts learning that page's healthy shape. There's no test script to write and no screenshot to approve.

The shape is made of things that stay stable on a healthy page:

  • the page title
  • the size of the page and how much text it has
  • its structure: headings, links, forms, fields, buttons and images, and whether it has navigation, main content and a footer
  • the first two scripts and the first stylesheet the page loads from your own site

Each region learns on its own. A region needs at least 12 healthy checks over at least an hour before it moves from Learning to Watching. That's deliberate. A page that looks a little different from Singapore than it does from Virginia should be judged against what it normally looks like from Singapore.

What Verdict doesn't compare is your wording. Pingara looks at a page's shape, not its words, so a blog that changes its headlines every day, or a pricing page where you've tweaked the copy, isn't a broken page. Of your page's text, Pingara keeps only the title.

What counts as broken

Once Pingara has learned a page, it looks for the ways a page can load and still be broken:

  • an error page or a maintenance page served with a good status code
  • the page suddenly sending visitors to a sign-in page
  • one of those scripts or that stylesheet failing to load
  • most of the page's content disappearing
  • key parts of the page's structure going missing

When that happens, you get an alert that says it plainly, like this:

Up but broken: your page loads but most of its content is gone (confirmed from 2 of 4 regions).

The email subject starts with [Pingara] Up but broken: so you can spot it in a busy inbox, and webhooks carry it as a verdict with the code up_but_broken.

Only when enough regions agree

A monitor that cries wolf gets muted, and a muted monitor is worse than none. So broken-page alerts follow the same rule that keeps the rest of Pingara calm: regions have to agree.

Each region has to see the broken page on several checks in a row (3 by default, using the monitor's consecutive slow checks setting). Then the same regional agreement as a down alert applies. On a monitor using all 4 regions (us-east-1, us-west-2, eu-west-1 and ap-southeast-1), that means 2 of 4. A region that's still learning doesn't get a vote. One odd response from one corner of the internet stays quiet.

Broken-page alerts go out through the same setting as degraded alerts, so if an alert policy has degraded alerts turned on, it gets these too.

Big changes wait for you

Pages change for good reasons all the time, and Verdict accepts most of those changes on its own. But some changes look exactly like breakage, and quietly accepting them would make a broken page the new normal.

So Pingara holds three kinds of change for you to review instead of learning them:

  • A large shrink: the page falls below 70 percent of the size or amount of text Pingara learned. Growth is never held.
  • A shrink in steps: the page gets smaller bit by bit until it's below 70 percent of what Pingara last learned.
  • A new error phrase: the page now shows an error, maintenance or "page not found" phrase it didn't show before.

A held change shows as Waiting for review. If it's expected, say a sale has ended and the page really is shorter, anyone who can manage monitors can press Relearn now and Pingara starts learning again. And if a redesign trips an alert, you can press This is fine, relearn on the incident, and Pingara relearns the page.

The Verdict page

All of this lives on a new Verdict page in the app, right under Monitors. Every page Pingara has learned gets a card showing where each region stands: Learning, Watching or Waiting for review.

Open a card and you'll see a diagram of the page's anatomy, drawn only from what Pingara learned, alongside each region's status, the page's size over the last 24 hours against the learned range, and the most recent change in each region. You can click around a sample one in the live demo without signing up.

A plain verdict on every alert

Verdict isn't only for Pro. On every plan, Free included, down, degraded, escalation and recovery alerts now open with one plain sentence that says what's wrong and from how many regions:

Down: the request timed out from 2 of 4 regions.

It leads the email, and the Slack, Microsoft Teams, Discord and PagerDuty messages, and webhooks get a verdict field. Rules decide these sentences, not guesswork, so the same problem always reads the same way. When you're woken up at 3am, the first line should tell you what happened.

Also in this release

  • Empty-body check. A page can answer 200 OK with nothing in it. Set a minimum response body and Pingara fails any check that comes back smaller. It's on every plan and off by default.
  • Bad certificates count as down. When a certificate fails verification, the monitor goes down and the alert names the problem, such as an expired certificate, the wrong host name or a self-signed certificate.
  • PagerDuty fixed. PagerDuty alerts are fixed, and degraded alerts now arrive there with warning severity.
  • Teams cards. Microsoft Teams alerts work with Teams Workflows and arrive as cards.
  • Clearer alert titles in Slack, Teams and Discord, so you can tell what happened from the notification alone.

What's next

Verdict is switched on now, and we'll be watching how it does on real pages closely. If it flags something that wasn't broken, or misses something that was, I want to hear about it, because that's exactly how it gets better.

A couple of honest notes while it's new. A page that builds itself entirely in the browser sends very little in the server's reply, so Verdict marks it as Limited coverage rather than pretending to watch more than it can. And a script or stylesheet failure is reported one check after Pingara first sees it, and cleared one check after it recovers, because assets are tested in the background so they never slow the main check.

Try it on your own site

The easiest place to start is the free scan: pingara.io/scan. Put in your site and see how it looks from the outside.

To see Verdict itself, have a look at the live demo.

Pingara has a Free plan that doesn't expire. Pro is $9/mo, with checks as often as every 30 seconds from all 4 regions and Verdict's broken-page detection. Pro also includes more status pages.

And if you've ever had a page that was "up" while your users were staring at something broken, I'd genuinely like to hear about it.

James Pepper, founder of Pingara

Back to the blog