mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 05:00:22 +03:00
Updated Prometheus metrics (#11141)
* Add metrics for nodes online and offline * Add cluster capacity metrics * Introduce v2 metrics
This commit is contained in:
@@ -389,7 +389,7 @@ func shouldMeterRequest(req *http.Request) bool {
|
||||
// MetricsTransport is a custom wrapper around Transport to track metrics
|
||||
type MetricsTransport struct {
|
||||
Transport *http.Transport
|
||||
Metrics *Metrics
|
||||
Metrics *BackendMetrics
|
||||
}
|
||||
|
||||
// RoundTrip implements the RoundTrip method for MetricsTransport
|
||||
|
||||
Reference in New Issue
Block a user