A developer implements a Prometheus counter for HTTP requests. What is the logic bug?
Python interview question for Advanced practice.
Answer
The counter increments only for GET and not for other methods.
Explanation
The counter should increment for all requests; conditional increments undercount traffic.