BlogPost
Inside-out and outside-in: two views of the same outage
Metrics read inside your network tell you what your systems are doing. Checks from outside tell you what customers can reach. Here is what each view sees and misses, and how Observer combines them without crying wolf.
6 min readTaha Al-Jody
Every outage has two descriptions. From the inside, it looks like a number crossing a line: error rate above 2%, queue depth climbing, a database refusing connections. From the outside, it looks like a page that will not load or a request that times out. Both are true, and they do not always agree.
Monitoring tends to pick one side. Uptime checkers look from the outside and see only what a request can see. Metrics look from the inside and see only what your systems report about themselves. This post looks at what each view catches and misses, and how Observer puts them on the same status page.
The inside-out view
Inside-out monitoring reads the signals your systems produce: Prometheus series, OpenTelemetry metrics, log queries, database queries, CloudWatch. In Observer, an agent runs inside your network, runs those queries, compares each result with your thresholds and sends the reading and its status out, plus a heartbeat about the agent itself. Credentials and raw results stay on your side.
What inside-out catches that an outside check cannot:
- Partial failure. A checkout that fails for 4% of orders still returns a 200 to a health check. Error rate shows it.
- Slowness that matters. A homepage check can stay fast while the p95 latency of the API your customers integrate with doubles.
- Internal pipelines. Queues, background jobs, replication lag and data freshness have no public URL to check.
- The metric in the contract. If your SLA is written in terms of latency or error rate, only the metric itself can show whether you met it. The SLO monitoring page goes into that.
What it misses:
- Everything between you and the customer. DNS that stopped resolving, an expired certificate, a CDN or load balancer in front of you that is dropping requests, a routing problem in one region. Your servers can be perfectly healthy while nobody can reach them.
- Its own blind spots. If the monitoring path fails along with the service, the inside view goes quiet rather than red. Observer marks a silent agent as delayed rather than trusting the last green result, but delayed is not the same as knowing.
The outside-in view
Outside-in checks act like a customer. They make a request from the public internet and record whether it worked: an HTTP request, a TCP connection, a DNS lookup, a TLS certificate check.
What outside-in catches that metrics cannot:
- Reachability. The whole path a customer's request takes, including DNS, certificates and everything in front of your servers.
- Regional problems. A failure that only shows from one part of the world.
- The obvious. Sometimes the site is simply down, and a check from outside is the most direct way to say so.
What it misses:
- Anything a request cannot see. Partial failures, degraded internals, slow paths that the checked URL does not exercise.
- Context. A failed request says something is wrong, not what or how much.
- Its own vantage point. A single probe location having a bad moment looks exactly like your service having one. This is the main reason outside-in monitoring gets a reputation for false alarms.
How hosted checks combine locations
Observer can run outside-in checks itself, from its own probe locations, with no agent. These hosted checks are an experimental feature, and they cover public endpoints only: HTTP, TCP, DNS and TLS certificate checks. A check runs from every location Observer offers or from a set you choose, up to eight, each shown by city and country code (in the form "City, CC"). The console shows each location's latest result.
The hard part is deciding what the check as a whole says when locations disagree. Observer's rules:
- Two or more locations failing: unhealthy. The failure is confirmed from more than one place.
- One location failing while others see the target working: it has to repeat. That location counts once it has reported three bad results in a row. The check then reads degraded, not unhealthy: something is wrong from one vantage point, which may be a regional problem or may be the location itself. Until then the check stays healthy, and the bad result shows only in the location breakdown. If a second location sees a problem too, the wait ends at once.
- Once the check reads bad, the wait no longer applies. While it is degraded or unhealthy, a lone failing location counts at once, so one good result in the middle of a problem does not resolve the check and raise a fresh alert on the next bad one.
- A location that cannot reach the target counts as failing. For a hosted check, "could not connect" is the failure you are watching for.
- A location that could not measure does not count against the target. Some results say more about the location than the target: the target answered with a bot-protection challenge, the location could not run the check, or the measurement was implausible. Those results are kept, and the check's other locations decide.
- A location that has gone quiet stops counting until it reports again, and so does a location where Observer has recorded an outage of its own, so a probe location's own trouble does not decide the check.
- A check run from one location has no second opinion. That location's result decides on its own, and the console flags the check as a single point of failure.
The check's status then goes through the same confirmation window as every other status change in Observer, so a single bad sample does not flap the page. Per-location results are kept, so afterwards you can see which locations saw the failure and when.
There are limits by design. Hosted checks run on Observer's infrastructure on behalf of every customer, so they only reach public targets: private networks, loopback addresses and cloud metadata services are blocked, HTTP checks send only GET, HEAD and OPTIONS requests, and checks cannot reference secrets stored on the probing host. Anything behind your firewall belongs to the agent.
One outage, both views
Take a realistic failure. A certificate on your API's load balancer expires at 09:00 UTC.
- Inside-out: your application metrics look fine. Requests that reach your servers succeed. Error rate may even drop, because fewer requests arrive.
- Outside-in: the HTTPS check fails from every location. Two or more fail, so the check reads unhealthy. A certificate expiry check would have warned you days earlier.
Now the opposite. A bad deploy makes 6% of payment attempts fail.
- Outside-in: the health endpoint returns 200 from every location. The check stays healthy.
- Inside-out: the payment error rate metric crosses its threshold. The agent reports unhealthy.
And a third case: a routing problem in one region.
- Outside-in: one location fails, the others succeed. Once that location has failed three times in a row, the check reads degraded, not unhealthy, and the location breakdown shows where.
- Inside-out: traffic from that region drops, which your metrics may or may not show depending on what you measure.
No single view gets all three right. Together they cover each other's blind spots.
Putting both on one page
In Observer, an agent metric and a hosted check are both just checks. They can sit on the same status page, under the same service, and they roll up the same way: the service shows the worst status among its checks. A customer looking at "Public API" sees one status, built from the inside and the outside.
The split also shows up after the incident. The incident evidence lists the checks involved, the agents behind them and, for hosted checks, each location's results: how many failed, and when the first and last bad results came in. That matters when a customer asks whether an outage affected them, and when you work out SLA credits, as described in how to calculate SLA credits.
Choosing what to check from where
A practical split:
- From outside: the front door. Your main domain, your API's base URL, the login page, DNS for the domains customers type, and certificate expiry for each public hostname.
- From inside: what the business runs on. Error rate and latency for the paths customers pay for, queue depth and job freshness, database availability, and any metric that appears in a contract.
- Status page wiring: group both under the service names customers recognise. Let the inside metric carry the SLA, and let the outside check catch the failures the inside cannot see.
If you are starting from Prometheus, From Prometheus to a public status page in ten minutes sets up the inside half. The metrics page lists every source the agent can read.
Keep reading
Connect one metric. See it on a status page in ten minutes.
Free plan, no card. Move up or down any time.