Where to start First steps track · 15 stages
Linux Labs

Observability: metrics, alerts, logs

Final test: Observability: metrics, alerts, logs

Question 2 of 18
Leave the quiz

Read the output

What is most likely wrong with the labapp job's target?

$ curl -s localhost:9090/api/v1/targets | jq '.data.activeTargets[] | select(.labels.job=="labapp") | {health, lastError}'
{
  "health": "down",
  "lastError": "Get \"http://127.0.0.1:8000/metrics\": dial tcp 127.0.0.1:8000: connect: connection refused"
}
Back A–C or ↵ Sign in to answer
Loading…