フリー問題

OpenTelemetry Certified Associate のフリー問題 6 / 20 問目

問題文

A team needs to record the current number of items waiting in an in-memory work queue. The value goes up when work arrives and down when a worker takes an item. Which instrument kind fits?

選択肢

  1. Counter, because a queue length is a running total that the backend can then differentiate over time to recover the current value of the queue.
  2. UpDownCounter, because it accumulates over time but can also go down again.
  3. Histogram, because the interesting question is the distribution of queue lengths.
  4. Asynchronous Counter, because the value is only known at export time.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。