Opsphere
← All articles

Service Health Scoring: How to Build a Score You Can Trust

Service Health Scoring: How to Build a Score You Can Trust

Geometric forms representing a trustworthy service health score

A service health score turns many telemetry signals into one state or number per service, so an on-call engineer can tell in seconds whether a service needs attention and why. A score earns trust when it is built from a few user-facing signals, weights dependencies by how much they matter, and can always be traced back to the signals behind it. Opsphere connects to the observability, cloud and CI/CD tools you already run and lets you query that operational context from one interface, so the inputs to a score stay in their source systems.

Opsphere
Build Health Scores From Clearer Context
Opsphere brings observability, cloud and CI/CD context into one interface, helping teams investigate operational signals without adding another disconnected view.
Visit

TL;DR

  • Problem: a provider status page or a wall of CPU graphs doesn’t tell you whether your service is healthy for your users.
  • Takeaway: score each service from a handful of user-facing signals (rate, errors, availability, latency, saturation), weight dependencies by criticality, and keep the score explainable.
  • Maintenance: treat the scoring model as versioned code, show stale data as unknown rather than green, and review thresholds whenever the architecture changes.
  • Next step: pick your top three user journeys, define one availability and one latency signal for each, and score from those before adding anything else.

Table of Contents

What a service health score measures

Health, in Microsoft’s Azure Well-Architected guidance, is the operational status of an entity and its dependencies. It’s expressed either as three states (Healthy, Degraded, Unhealthy) or as a score when you need more granularity. The state comes from combining monitoring data (metrics, logs, traces) with domain knowledge and per-state thresholds.

A useful score has a few properties. It’s composite, so it combines several signals. It’s time-windowed, so it reflects a sliding window rather than one instant. It’s bounded, usually 0 to 100. It’s tunable by service criticality. Above all, it’s interpretable: a score has to map back to the factors that produced it, otherwise nobody acts on it.

This is a different thing from a cloud provider’s service health page. The provider page tells you whether the provider has declared an incident. Your score tells you whether your workload is serving your users. A green provider indicator can sit next to a degraded workload, because a regional dependency, a quota, a bad deploy or your own configuration can break you without the provider declaring anything.

Choose a small set of signals

Google’s SRE book says a handful of representative indicators is enough to judge a system’s health, and warns that too many indicators make it hard to attend to the ones that matter. What counts as representative depends on the service type: user-facing systems care about availability, latency and throughput; storage systems about latency, availability and durability; data pipelines about throughput and end-to-end latency. Every system cares about correctness.

For a request-serving service, a good default is the READS set Salesforce’s engineers describe: request rate, errors, availability, duration and saturation. It overlaps heavily with the four golden signals (latency, traffic, errors, saturation). If you want the longer treatment of those, see our guide to golden signals monitoring.

Two details change the result more than most teams expect:

Starting targets are only starting points. One published example uses P95 latency under 300 ms, an error rate under 0.5% and a 99.9% availability baseline, as illustrative values. Your numbers should come from your own history. Look at where performance starts to suffer (response time climbing once memory passes 70%, for example) and review a month of data before fixing thresholds, rather than picking round numbers.

Weight dependencies by how much they matter

A service rarely fails alone. The hard design question is how a failing dependency changes the score of the service that calls it. Microsoft’s guidance gives three cases:

  1. A required dependency passes its state to the parent unchanged.
  2. A dependency with a working fallback, such as a cache that falls back to the database, makes the parent Degraded rather than Unhealthy.
  3. A non-impacting dependency, such as background reporting, stays visible without changing the parent’s state.

These map to Hard, Soft and Informational classes, with the rollup taking the worst status among non-informational components. The same source warns that criticality labels drift as code changes. Give each label an owning team and review it whenever the call graph changes, for instance through a pull request checklist item.

If you prefer a numeric score, explicit weights and bands keep it honest. One published example computes health as pass rate times 0.6, plus stability times 0.3, plus a trend bonus times 0.1, clamped to 0 to 100, with fixed boundaries at 90, 75, 50 and 25 mapped to labels from Excellent to Critical. It scores test suites, not production services, but the structure transfers: weights you can state, bands you can explain.

Tie the score to an error budget

An SLO (service level objective) is a target for a signal, such as 99.9% of requests succeeding. The error budget is the rate at which you can miss it. Google notes that insisting on 100% is unrealistic and undesirable because it slows innovation and forces overly conservative design. Budget burn rate is a natural early-warning input to a health score: it tells you not just that a service is slipping but how fast.

Low-traffic services need care. With few requests, one error produces a large ratio. The recommended fixes are a longer window, a minimum-event gate, a no-traffic alert and exact counts shown next to percentages. Multi-window confirmation helps too: a long window proves meaningful budget consumption, a short one stops you paging after recovery.

For how reliability targets feed alerting and maintenance decisions in other operational fields, criticality-led allocation rules follow the same logic of ranking by consequence rather than treating every item equally.

Build it without adding tooling

Small teams don’t need a scoring product. They need a clear model on top of telemetry they already have.

Start with the service, not the device. Record its business owner, its users, its critical periods, its key dependencies and its expected behavior. Keep the signal list to one page, and prefer one or two checks that test the user outcome directly.

A workable sequence for a team of three to ten engineers:

  1. List three to five critical user journeys, such as sign-in, checkout or API ingest.
  2. Define one availability or correctness indicator and one latency indicator per journey. Tool selection comes after signal design.
  3. Classify each dependency as hard, soft or informational and assign an owner.
  4. Set Degraded and Unhealthy thresholds from your own history. One Azure example uses Degraded below 99.9 and Unhealthy below 99.5 on an SLI, reusing existing alert action groups instead of building new ones.
  5. Roll the states up from components to the whole service, and alert on the rollup.

The friction in step 2 and 3 is usually not the design. It’s that the data lives in five places: CloudWatch, Kubernetes, a CI/CD system, an observability backend and a ticket queue. Opsphere’s model is to connect to those existing tools without replacing them, keep each tool as the source of truth, and let you ask operational questions across them from the web client or from your IDE. It uses more than 300 read-only operational tools, so gathering the evidence behind a score doesn’t mean changing anything in your environment.

Use the score in alerts and incidents

Without a health model, monitoring data maps one-to-one onto alert rules. Microsoft describes how that overwhelms operators during a failure: a cluster’s VM-level CPU and error alerts all fire at once. A health model aggregates many signals into one state, so operators see the high-value alert, with application owners and operators alerted at different layers.

Some rules that hold up in practice:

  • Ground alerts in a hierarchy from components up to the full system and define thresholds using SLOs. Relying only on CPU or memory can miss what matters, and poorly tuned thresholds create noise.
  • Make every page answer three questions: what action is needed, by when, and who is accountable. If the designer can’t answer, the event isn’t ready to alert.
  • Keep dependency checks out of liveness and readiness probes. When 20 replicas share one slow PostgreSQL and all fail their probes, Kubernetes restarts them together and makes it worse. The fix is that each service checks only its direct dependencies cheaply, while a separate aggregator polls each service’s deep endpoint and flags the shared dependency as the root cause instead of marking every dependent red.

That last pattern is what alert correlation does at scale. Our guides on alert correlation, cloud outage detection and Kubernetes monitoring best practices cover the signals and triage steps in more detail.

During an incident, a score is a starting point for investigation, not a conclusion. The useful question is which contributing signal moved first. Opsphere’s investigation workflow is built around structured, evidence-backed analysis and parallel hypothesis testing across your connected tools, which is the step that follows a red score.

SRE reviewing evidence during a service incident

Know where scores mislead

Every aggregate hides something. Google’s SRE resources list the main traps:

  • Aggregating upward can hide a product that never works for a handful of users.
  • SLIs assume all requests are equal even when their cost or revenue differs.
  • Time aggregation counts 1,000 one-minute outages the same as one 1,000-minute outage.
  • Practical SLIs tend to be the easiest data to collect, not the best, so complaints and direct customer feedback should be integrated.

Missing data is the quietest failure. Never turn it into green: give every telemetry source a freshness expectation and show stale agents as unknown. A service that stopped reporting and a service that is healthy look identical on a dashboard that defaults to green.

Keep the score accurate over time

A threshold tuned correctly today is miscalibrated after the next architecture change. Microsoft recommends maintaining the health model as a continuous engineering activity: version-controlled infrastructure as code, automation that tracks added and removed components, and periodic review that removes signals which no longer add value.

Measure the model itself. Meta’s 2026 paper on deployment health checks reports that tracking per-check precision and recall, backtesting candidate checks on 30 days of one-minute data and adding dependency-aware checking cut the fleet-wide false-positive rate from 12.1% to 2.7% over a year. The lesson for a small team is the method: backtest a threshold change before shipping it, instead of loosening thresholds until the noise stops. Noise reduction on the security side follows the same discipline, as in our piece on reducing false positive alerts, and anomaly detection monitoring covers the baseline side.

After any architecture change, use a short review: define the change boundary and the services and paths it touches, verify each measure’s window, period, event unit and exclusions, test the definition against representative events with a second reviewer, and record a disposition of retain, revise, replace or retire with an owner and next review trigger. ONES publishes this checklist in full.

Where Opsphere fits

Opsphere is an operational layer across AWS, Kubernetes, observability, CI/CD, security and engineering tools, with AI agents and MCP access to read-only operational tools. For a team building health scores, that means the signals, topology and recent changes behind each score can be queried in one place while your existing tools stay the source of truth, and without duplicating telemetry.

Opsphere

The Community plan is 0 € per month and the Developer plan is 19 € per month; Custom Solutions has no published price. Compare them on the pricing page, or read how the MCP operational gateway exposes read-only tools to your AI agents and IDE.

FAQ

How many signals should a service health score use?

Fewer than you think. Google’s SRE guidance says a handful of representative indicators is enough, and that too many obscure the ones that matter. Start with one availability or correctness signal and one latency signal per critical user journey.

Should a health score be a number or a state?

States (Healthy, Degraded, Unhealthy) are easier to alert on and explain. Numbers give finer granularity and suit trend views. Whichever you pick, it has to map back to the contributing signals and its thresholds should come from your own data.

Why does my service look healthy while users complain?

Provider dashboards report what the provider has declared, not how your workload behaves. Averages can also hide a slow tail, and aggregation can hide a small group of affected users. Add percentile latency, per-journey signals and user feedback to the score.

How often should I review thresholds?

Review them whenever the architecture or dependencies change, and on a regular schedule otherwise. Backtest any change against recent historical data first, and record who owns each threshold.

Opsphere
Discuss Your Service Health Signals
Contact Opsphere to explore how unified operational context can help your team investigate infrastructure and observability signals.

Sources

This article is provided for general informational purposes only and does not constitute professional, legal, security, or compliance advice. Please evaluate recommendations against your organization’s specific environment and requirements.