Where to start First steps track · 15 stages
Linux Labs

Observability: metrics, alerts, logs

Quiz: metrics and Prometheus

Question 8 of 9
Leave the quiz

Read the output

Which labels will remain in the answer to this query?

$ promtool query instant http://localhost:9090 'rate(labapp_http_requests_total[1m])' | head -n 1
{code="200", instance="127.0.0.1:8000", job="labapp", method="GET", path="/"} => 1.05 @[1792644627.758]
$ promtool query instant http://localhost:9090 'sum without (method, instance) (rate(labapp_http_requests_total[1m]))'
Back A–C or ↵ Sign in to answer
Loading…