Scenario
You are operating a production observability platform. The following symptoms appear:
- Prometheus is running
- Relabeling rules in configuration
Available evidence:
- /api/v1/targets shows the targets list as empty for the job
- No
lastErrorbecause targets are not even being attempted
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
- Inspect /api/v1/targets. 2. Identify the relabeling rule. 3. Remove the
dropor fix the regex. 4. Restore.
Verification
Targets reappear; metrics are scraped.
Rollback
Revert configuration changes
Prevention
Review the relabeling rules and how they were applied.