mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
export cluster health as prometheus metrics (#17741)
This commit is contained in:
@@ -138,8 +138,8 @@ func isServerResolvable(endpoint Endpoint, timeout time.Duration) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
req.Header.Set("x-minio-from-peer", "true")
|
||||
// Indicate that the liveness check for a peer call
|
||||
req.Header.Set(xhttp.MinIOPeerCall, "true")
|
||||
|
||||
resp, err := httpClient.Do(req)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user