当Prometheus服务停止时、"GET /grid / metric-query" API失败
适用场景
StorageGRID
问题描述
Prometheus服务停止后、
GET /grid/metric-query
API请求将失败。nginx-gw\access.log
示例:- 异常:
10.11.22.33 - - [17/Dec/2024:09:50:06 +0000] "GET /api/v2/grid/metric-query?query=storagegrid_tenant_usage_data_bytes{instance=\x22admin-node\x22} HTTP/1.1"499 0 "-""curl/x.xx.0"
unix: - - [17/Dec/2024:09:50:06 +0000] "GET /api/v2/grid/metric-query?query=storagegrid_tenant_usage_data_bytes{instance=\x22admin-node\x22} HTTP/1.1"499 0 "-""curl/x.xx.0"
- 正常:
unix: - - [17/Dec/2024:10:00:04 +0000] "GET /api/v2/grid/metric-query?query=storagegrid_tenant_usage_data_bytes{instance=\x22admin-node\x22} HTTP/1.1"200 1176440 "-""curl/x.xx.0"
10.11.22.33 - - [17/Dec/2024:10:00:04 +0000] "GET /api/v2/grid/metric-query?query=storagegrid_tenant_usage_data_bytes{instance=\x22admin-node\x22} HTTP/1.1"200 1176440 "-""curl/x.xx.0"