Prometheus · Arazzo Workflow
Prometheus Troubleshoot a Missing Scrape Target
Version 1.0.0
Work out why a target's metrics are missing — dropped, down, or never configured.
Provider
Workflows
troubleshoot-scrape-target
Diagnose why a scrape target is not producing metrics.
Distinguishes the three failure modes that look identical from a dashboard: the target was relabelled away and dropped, the target is active but the scrape is erroring, or the scrape job is not in the configuration at all.
1
listTargets
getTargets
Read the full target discovery state, including targets dropped by relabelling. The health and lastError fields on an active target say whether the last scrape succeeded and why it did not.
2
inspectTargetMetadata
getTargetMetadata
Ask what metadata the matched targets are contributing for the expected metric. An empty result means the target is being scraped but is not exposing this metric at all.
3
evaluateUpMetric
queryInstant
Evaluate the up metric for this target. A sample value of 1 means the last scrape succeeded, 0 means Prometheus reached the scrape cycle and failed, and no sample at all means the target is not being scraped.
4
inspectConfig
getConfig
Read the loaded configuration as YAML. Reached when service discovery produced no active targets at all, which usually means the scrape job is missing from the configuration or its discovery block matches nothing.