- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getLocalServerProperty (0.12 sec)
-
cmd/admin-server-info.go
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/kms" xnet "github.com/minio/pkg/v3/net" ) // getLocalServerProperty - returns madmin.ServerProperties for only the // local endpoints from given list of endpoints func getLocalServerProperty(endpointServerPools EndpointServerPools, r *http.Request, metrics bool) madmin.ServerProperties { addr := globalLocalNodeName if r != nil { addr = r.Host
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (1) -
cmd/metrics-realtime.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:16:24 UTC 2024 - 6.3K bytes - Viewed (0) -
cmd/metrics.go
// and sends to given channel func storageMetricsPrometheus(ch chan<- prometheus.Metric) { objLayer := newObjectLayerFn() // Service not initialized yet if objLayer == nil { return } server := getLocalServerProperty(globalEndpoints, &http.Request{ Host: globalLocalNodeName, }, true) onlineDisks, offlineDisks := getOnlineOfflineDisksStats(server.Disks) totalDisks := offlineDisks.Merge(onlineDisks)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
cmd/peer-rest-server.go
r := http.Request{Host: globalLocalNodeName} metrics, err := strconv.ParseBool(params.Get(peerRESTMetrics)) if err != nil { return nil, grid.NewRemoteErr(err) } info := getLocalServerProperty(globalEndpoints, &r, metrics) return madminServerProperties.NewJSONWith(&info), nil } // GetCPUsHandler - returns CPU info.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0) -
cmd/admin-handlers.go
ldap.Status = string(madmin.ItemOnline) } } log, audit := fetchLoggerInfo(ctx) // Get the notification target info notifyTarget := fetchLambdaInfo() local := getLocalServerProperty(globalEndpoints, r, metrics) servers := globalNotificationSys.ServerInfo(ctx, metrics) servers = append(servers, local) var poolsInfo map[int]map[int]madmin.ErasureSetInfo
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0)