This topic describes the monitoring metrics related to object storage upload in LogService.
logservice_upload_to_ss_count
Metric description
The average number of log blocks uploaded to object storage per second.
Metric parameters
Metrics |
Metric Name |
unit |
|---|---|---|
| upload_to_ss_duration_seconds_count | logservice_upload_to_ss_count | times/s |
Calculation expression
sum(rate(upload_to_ss_duration_seconds_count{@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheus collection
Use prometheusInput to collect the upload_to_ss_duration_seconds_count metric from `http://127.0.0.1:${monagent.logservice.exporter.port}/metrics``.
logservice_upload_to_ss_duration_P95_ms
Metric description
The P95 percentile of the time consumed for uploading to object storage, which reflects network or internal execution status.
Metric parameters
Metrics |
Metric Name |
unit |
|---|---|---|
| upload_to_ss_duration_seconds_bucket | logservice_upload_to_ss_duration_P95_ms | ms |
Calculation expression
1000 * histogram_quantile(0.95, sum(rate(upload_to_ss_duration_seconds_bucket{@LABELS}[@INTERVAL])) by (@GBLABELS,le))
Prometheus collection
Use prometheusInput to collect the upload_to_ss_duration_seconds_bucket histogram metric from `http://127.0.0.1:${monagent.logservice.exporter.port}/metrics``.
logservice_upload_to_ss_duration_P99_ms
Metric description
The P99 percentile of the time consumed in uploading objects to object storage, which reflects network or internal execution status.
Metric parameters
Metrics |
Metric Name |
unit |
|---|---|---|
| upload_to_ss_duration_seconds_bucket | logservice_upload_to_ss_duration_P99_ms | ms |
Calculation expression
1000 * histogram_quantile(0.99, sum(rate(upload_to_ss_duration_seconds_bucket{@LABELS}[@INTERVAL])) by (@GBLABELS,le))
Prometheus collection
Use prometheusInput to collect the upload_to_ss_duration_seconds_bucket histogram metric from `http://127.0.0.1:${monagent.logservice.exporter.port}/metrics``.
logservice_upload_to_ss_bytes_total
Metric description
The total number of bytes uploaded to object storage per second.
Metric parameters
Metrics |
Metric Name |
unit |
|---|---|---|
| upload_to_ss_bytes_total | logservice_upload_to_ss_bytes_total | byte/s |
Calculation expression
sum(rate(upload_to_ss_bytes_total{@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheus collection
Use prometheusInput to collect the upload_to_ss_bytes_total metric from `http://127.0.0.1:${monagent.logservice.exporter.port}/metrics``.
logservice_upload_failure_total
Metric description
The total number of object storage upload failures per second. Abnormalities may be caused by network issues, shared storage exceptions, or internal execution errors.
Metric parameters
Metrics |
Metric Name |
unit |
|---|---|---|
| upload_failure_total | logservice_upload_failure_total | times/s |
Calculation expression
sum(rate(upload_failure_total{@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheus collection
Collect the upload_failure_total metric from http://127.0.0.1:${monagent.logservice.exporter.port}/metrics`` usingprometheusInput`.
