問題文
A payments platform is instrumenting a new online-serving API from scratch. Which set of decisions follows the instrumentation guidance for that class of service?
選択肢
- A single gauge holding a computed health score, counting at the start of each request, and monitoring only on the server side because that is the side where the work is actually performed.
- Counters for requests and errors, a histogram for duration, a gauge for in-progress requests, counting at the end of each request, and monitoring on both client and server side.
- Counters for requests and errors only, because latency can be derived from the request rate and the number of in-progress requests.
- A summary with pre-configured quantiles for the duration and no counters, because the count series of the summary already covers the request count.