mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
Updated Prometheus metrics (#11141)
* Add metrics for nodes online and offline * Add cluster capacity metrics * Introduce v2 metrics
This commit is contained in:
1 parent
3bda8f755c
commit
b4add82bb6
27 files changed
+1669
-252
No files matched your search
@@ -419,7 +419,7 @@ type azureObjects struct {
|
||||
minio.GatewayUnsupported
|
||||
endpoint *url.URL
|
||||
httpClient *http.Client
|
||||
metrics *minio.Metrics
|
||||
metrics *minio.BackendMetrics
|
||||
client azblob.ServiceURL // Azure sdk client
|
||||
}
|
||||
|
||||
@@ -533,7 +533,7 @@ func parseAzurePart(metaPartFileName, prefix string) (partID int, err error) {
|
||||
}
|
||||
|
||||
// GetMetrics returns this gateway's metrics
|
||||
func (a *azureObjects) GetMetrics(ctx context.Context) (*minio.Metrics, error) {
|
||||
func (a *azureObjects) GetMetrics(ctx context.Context) (*minio.BackendMetrics, error) {
|
||||
return a.metrics, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user