Updated Prometheus metrics (#11141)

* Add metrics for nodes online and offline
* Add cluster capacity metrics
* Introduce v2 metrics
This commit is contained in:
Ritesh H Shukla authored and GitHub committed 2021-01-18 20:35:38 -08:00
1 parent 3bda8f755c
commit b4add82bb6
27 files changed
+1669 -252

No files matched your search

+1 -1
View File
@@ -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