recording rule とは?
recording rule は、メトリクスシステムが一定間隔で評価し、新しい時系列として保存する設定済みの式です。これはコストの高い集計の負担を読み取りパスから外し、バックグラウンドのスケジュールへ移します。ダッシュボードやアラートは、読み込みのたびに再計算する代わりに、事前計算された系列をクエリします。
なぜ重要か
重い集計をダッシュボードの更新やアラート評価のたびに再計算するのは遅く、負荷が高い処理です。recording rule はそのコストを間隔ごとに一度だけ支払い、読み取りを高速かつ一貫した状態に保ちます。
関連ガイド
What Is an Alerting Rule?An alerting rule is a condition over metrics that, when it stays true for a set duration, fires an alert that…
What Is a Scrape Interval?A scrape interval is how often a metrics system pulls fresh values from a target, setting the time resolution…
What Is Metric Cardinality?Metric cardinality is the number of distinct time series a metric produces, driven by the unique combinations…