This topic describes the monitoring metrics related to log reception and writing in LogService.
logservice_receive_bytes_total
Metric description
The cumulative number of bytes of logs received by LogService (per second).
Metric parameters
Metrics |
Metric Name |
unit |
|---|---|---|
| log_receive_bytes_total | logservice_receive_bytes_total | byte/s |
Calculation expression
sum(rate(log_receive_bytes_total{@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheus collection
Collect the log_receive_bytes_total metric from http://127.0.0.1:${monagent.logservice.exporter.port}/metrics`` usingprometheusInput`.
logservice_pwrite_bytes_total
Metric description
The number of bytes written to disk by LogService (per second).
Metric parameters
Metrics |
Metric Name |
unit |
|---|---|---|
| log_pwrite_bytes_total | logservice_pwrite_bytes_total | byte/s |
Calculation expression
sum(rate(log_pwrite_bytes_total{@LABELS}[@INTERVAL])) by (@GBLABELS)
Prometheus collection
Collect the log_pwrite_bytes_total metric from http://127.0.0.1:${monagent.logservice.exporter.port}/metrics`` usingprometheusInput`.
