PCA (Prometheus Certified Associate) sample exam question with answer 215
Question:
The metric http_errors_total has 3 labels, path, method, error. Which of the following queries will give the total number of errors for a path of /auth, method of POST, and error code of 401?
- http_errors_total{path="/auth",method="PUT",code="401"}
- http_errors_total{path="/auth",method="POST"}
- http_errors_total{path="/auth",method="POST",code="401"}
- http_errors_total
Answer:
C - is the correct query