Add timeinfo to health data (#14013)

Capture RoundtripDuration to figure out 
NTP issues in subnet health analyzer.
This commit is contained in:
Shireesh Anjal
2022-01-06 15:21:10 +05:30
committed by GitHub
parent 89441a22aa
commit c27110e37d
4 changed files with 15 additions and 2 deletions
+3
View File
@@ -49,6 +49,7 @@ import (
"github.com/minio/console/restapi"
"github.com/minio/console/restapi/operations"
"github.com/minio/kes"
"github.com/minio/madmin-go"
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"github.com/minio/minio-go/v7/pkg/set"
@@ -132,6 +133,8 @@ func init() {
console.SetColor("Debug", fcolor.New())
gob.Register(StorageErr(""))
gob.Register(madmin.TimeInfo{})
gob.Register(map[string]interface{}{})
defaultAWSCredProvider = []credentials.Provider{
&credentials.IAM{