GCPでサービスを運用しており、Monitoringを使って、調査する必要があったので調べたことをメモしていきます。
Find resource type and metric
省略
Filter
省略
Group By
省略
Aggregator
説明そのままだと以下。
An aggregator describes how to aggregate data points across multiple time series. By default, the aggregation results in a single line, in which the values are the result of applying the aggregator across all the time series. If Group By labels are selected, the aggregation results in a time series for each combination of matching labels.
指定された時系列を集計して出してくれる。
group byが設定されていると、一致したラベルの組み合わせごとの時系列になる。
aggregator
に適した日本語訳って何なんだろう。
Aligner
An aligner describes how to bring the data points in each individual time series into equal periods of time. Within each interval (determined by the alignment period) and for each time series, the data points are aggregated into a single point. The value of that point is determined by the type of aligner used.
Aggregatorで集計したデータを同期間にする方法??
各期間の中で、データポイントは一つのポイントに集計される??
Alignment Period
集計期間
Secondary Aggregator
省略
Legend Template
凡例に命名できる。
参考
https://qiita.com/yokomotod/items/e29f0ffe08d38efe2d6b
https://cloud.google.com/monitoring/api/metrics
https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.alertPolicies