跳转到主内容

当Prometheus服务停止时、"GET /grid / metric-query" API失败

Views:
Visibility:
Public
Votes:
0
Category:
storagegrid-webscale
Specialty:
sgrid
Last Updated:

适用场景

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"
 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.