問題文
The store's dashboard has a panel for a very volatile counter that spikes for a few seconds at a time, and an alerting rule for a slow-moving counter. Which option correctly matches the function to each use?
選択肢
- Use irate for the graph, because it uses the last two samples, and rate for the alerting rule, because brief changes should not reset the wait.
- Use rate for both, because the averaged value over the complete window is always the more correct and stable representation of a counter's behavior.
- Use increase for the graph and delta for the alerting rule, because both return absolute amounts over the window that are easier to reason about.
- Use irate for both the graph and the rule, because it always reflects the most recent counter state and therefore gives the fastest possible alerting.