This topic describes the monitoring metrics related to HTTP requests of LogService.
logservice_http_server_request_P95_duration_ms
Metric description
The P95 percentile duration of HTTP requests, categorized by method and path.
Metric parameters
Metrics |
Metric Name |
unit |
|---|---|---|
| http_server_request_duration_seconds_bucket | logservice_http_server_request_P95_duration_ms | ms |
Calculation formula
1000 * histogram_quantile(0.95, sum(rate(http_server_request_duration_seconds_bucket{@LABELS}[@INTERVAL])) by (@GBLABELS,le))
Prometheus collection
Use prometheusInput to collect the http_server_request_duration_seconds_bucket histogram metric from `http://127.0.0.1:${monagent.logservice.exporter.port}/metrics``.
logservice_http_server_request_P99_duration_ms
Metric description
The P99 percentile duration of HTTP requests, categorized by method and path.
Metric parameters
Metrics |
Metric Name |
unit |
|---|---|---|
| http_server_request_duration_seconds_bucket | logservice_http_server_request_P99_duration_ms | ms |
Calculation formula
1000 * histogram_quantile(0.99, sum(rate(http_server_request_duration_seconds_bucket{@LABELS}[@INTERVAL])) by (@GBLABELS,le))
Prometheus collection
Use prometheusInput to collect the http_server_request_duration_seconds_bucket histogram metric from `http://127.0.0.1:${monagent.logservice.exporter.port}/metrics``.
