Load Testing · Middle · Question 12 of 76

How do you set a threshold for only one endpoint?

Show the answer

Correct answer: Tag its requests and use a sub-metric like http_req_duration{name:search}

Explanation

Thresholds on tagged sub-metrics apply only to matching samples. You can have strict targets for search and looser ones for reports.

Further reading

Problem with a question

Load Testing · Middle · question 12

Test yourself

Take the Load Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz