このセクションでは、LogServiceのオブジェクトストレージアップロードに関連する監視メトリクスについて説明します。
logservice_upload_to_ss_count
メトリクスの紹介
1秒あたりのオブジェクトストレージへのログブロックの平均アップロード回数です。
メトリクスパラメータの説明
メトリクス項目 |
メトリクス名 |
単位 |
|---|---|---|
| upload_to_ss_duration_seconds_count | logservice_upload_to_ss_count | times/s |
計算式
sum(rate(upload_to_ss_duration_seconds_count{@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheusの収集
prometheusInput を使用して、http://127.0.0.1:${monagent.logservice.exporter.port}/metrics から upload_to_ss_duration_seconds_count メトリクスを収集します。
logservice_upload_to_ss_duration_P95_ms
メトリクスの紹介
オブジェクトストレージへのアップロード時間の分位数(P95)で、ネットワークまたは内部実行状態を反映します。
メトリクスパラメータの説明
メトリクス項目 |
メトリクス名 |
単位 |
|---|---|---|
| upload_to_ss_duration_seconds_bucket | logservice_upload_to_ss_duration_P95_ms | ms |
計算式
1000 * histogram_quantile(0.95, sum(rate(upload_to_ss_duration_seconds_bucket{@LABELS}[@INTERVAL])) by (@GBLABELS,le))
Prometheusの収集
prometheusInput を使用して、http://127.0.0.1:${monagent.logservice.exporter.port}/metrics から upload_to_ss_duration_seconds_bucket ヒストグラムメトリクスを収集します。
logservice_upload_to_ss_duration_P99_ms
メトリクスの紹介
オブジェクトストレージへのアップロード時間の分位数(P99)であり、ネットワークまたは内部実行状態を反映します。
メトリクスパラメータの説明
メトリクス項目 |
メトリクス名 |
単位 |
|---|---|---|
| upload_to_ss_duration_seconds_bucket | logservice_upload_to_ss_duration_P99_ms | ms |
計算式
1000 * histogram_quantile(0.99, sum(rate(upload_to_ss_duration_seconds_bucket{@LABELS}[@INTERVAL])) by (@GBLABELS,le))
Prometheus収集
prometheusInput を使用して、http://127.0.0.1:${monagent.logservice.exporter.port}/metrics から upload_to_ss_duration_seconds_bucket ヒストグラムメトリクスを収集します。
logservice_upload_to_ss_bytes_total
メトリクスの紹介
オブジェクトストレージへのアップロードバイト数(毎秒レート)。
メトリクスパラメータの説明
メトリクス項目 |
メトリクス名 |
単位 |
|---|---|---|
| upload_to_ss_bytes_total | logservice_upload_to_ss_bytes_total | byte/s |
計算式
sum(rate(upload_to_ss_bytes_total{@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheus収集
prometheusInput を使用して、http://127.0.0.1:${monagent.logservice.exporter.port}/metrics から upload_to_ss_bytes_total メトリクスを収集します。
logservice_upload_failure_total
指標の紹介
オブジェクトストレージへのアップロード失敗回数(1秒あたりのレート)。異常が発生した場合、ネットワーク異常、共有ストレージ異常、または内部実行異常が原因である可能性があります。
指標パラメータの説明
指標項目 |
指標名 |
単位 |
|---|---|---|
| upload_failure_total | logservice_upload_failure_total | times/s |
計算式
sum(rate(upload_failure_total{@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheus収集
prometheusInput を使用して、http://127.0.0.1:${monagent.logservice.exporter.port}/metrics から upload_failure_total 指標を収集します。