Scenario
You are operating a production observability platform. The following symptoms appear:
- Prometheus /-/ready returns 200
- Target HTTP is refused or times out
Available evidence:
- /api/v1/targets shows the job as DOWN
- lastError is “connection refused” or “context deadline exceeded”
Your task
Determine the cause, recover, document, and validate.
Investigation
The investigation follows the discipline taught in Part XCVIII:
- Form hypothesis, find evidence, test, validate.
- Use the available evidence above to bound the search.
- Reach one of the likely root causes.
Recovery procedure
(Do not reveal until you have reasoned through the problem.)
- Identify the failing component.
- Apply the remediation pathway.
- Validate with the verification step.
- Document the incident.
Remediation
- Confirm the target host is up. 2. Confirm /metrics endpoint listens. 3. Add the missing allow rule. 4. Restore scrape.
Verification
Target returns up == 1; /metrics appears in queries.
Rollback
Revert the network change in the controlled manner; document the rule.
Prevention
Verify all external scrape targets are documented; review quarterly.