Actually, there is a replacement: one can talk directly with the API
endpoint.

This, for example, will show unhealthy targets:

curl -s http://localhost:9090/api/v1/targets | jq '.data.activeTargets[] | 
select(.health != "up") | {instance: .labels, scrapeUrl, health, lastError}'

A.
-- 
We tend to overestimate the effect of a technology in the short run and
underestimate the effect in the long run.
                        - Roy Amara

Reply via email to