SRE / Basic: promises and measurements / Lesson 7
Compare synthetic and real-user evidence
Design a safe probe and interpret disagreement with real-user outcomes.
On this page
Lesson goals
- Define probe scope and the real-user population.
- Test detection and recovery while protecting data.
Choose a user journey
A synthetic probe performs a predefined test of a service from a chosen location and identity. Start with a user journey that matters, such as retrieving a synthetic reservation, and define the expected result. Record the probe’s owner, frequency, location, and dependencies. A successful probe is evidence for that particular path and time; it is not proof that every real user or operation is healthy.
Compare real-user evidence
Real-user measurements describe observed production attempts, subject to instrumentation, consent, and sampling limits. They can expose failures that a synthetic account or test location misses, while a probe can detect a problem before significant user traffic arrives. Compare both signals over the same time and journey, but do not combine their counts as though they represented the same population. Protect identities and sensitive request data.
Design a safe probe
Use synthetic accounts and data, least privilege, bounded frequency, and a cleanup plan for any test-created state. The example defines a read-only lab journey and expected outcome without claiming an executed check. A probe that creates real orders, leaks credentials, or floods a dependency can cause the incident it was meant to detect. Record the probe’s own dependencies and how its failure is distinguished from service failure.
journey: read synthetic reservation
identity: lab-probe
expected: authorized response with lab marker
frequency: bounded by lab policy
The example defines scope and outcome without contacting a service or exposing credentials.
Interpret disagreement
If the probe is green and users report errors, compare identity, location, request type, timing, and coverage before dismissing the reports. If the probe fails while users succeed, investigate the probe path and its dependencies. The comparison table illustrates possible questions, not an automatic diagnosis. Preserve evidence from both populations and assign an owner for missing or conflicting observations.
probe: success
user reports: failures
compare: identity, location, operation, time
The disagreement is an investigation question, not proof of a specific cause.
Test detection and recovery
In an isolated lab, inject one controlled failure affecting the chosen journey and verify the probe result, alert routing, and responder action. Then restore the dependency and verify both probe recovery and a representative user operation. Record what the test does not cover, such as another region or account type. Review the probe when the journey changes so a green result continues to represent the intended contract.
Common errors and fixes
Treating probe success as proof for every user
- Why it happens
- The probe covers only a particular identity, location, and journey.
- How to fix it
- Compare real-user evidence and the affected scope.
- Prevent it next time
- Document probe coverage limits.
Combining probe and user counts as one population
- Why it happens
- Their attempts are generated differently.
- How to fix it
- Analyze each population and window separately.
- Prevent it next time
- Define the population of each indicator.
Creating real data through repeated tests
- Why it happens
- Synthetic identity, data, and cleanup were not defined.
- How to fix it
- Stop the test and follow the approved data-handling procedure.
- Prevent it next time
- Use least privilege and bounded cleanup.
2 practice exercises
1. The probe is green but users in one region fail. What next?
Show worked solution
Compare location, identity, journey, and timing, and gather evidence from affected users before changing the probe or dismissing reports.
2. The probe fails but users succeed. Is the service necessarily down?
Show worked solution
No. Inspect the probe’s path, identity, and dependencies and compare its population and time with user evidence.
Key takeaways
- Each signal has a population, coverage, and limits.
- Test the probe and recovery with bounded data and permissions.