- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toServerConnStats (0.08 sec)
-
cmd/metrics-v3-system-network.go
// loadNetworkInternodeMetrics - reads internode network metrics. // // This is a `MetricsLoaderFn`. func loadNetworkInternodeMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error { connStats := globalConnStats.toServerConnStats() rpcStats := rest.GetRPCStats() if globalIsDistErasure { m.Set(internodeErrorsTotal, float64(rpcStats.Errs)) m.Set(internodeDialErrorsTotal, float64(rpcStats.DialErrs))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/metrics-v3-api.go
// loadAPIRequestsNetworkMetrics - loads S3 network metrics. // // This is a `MetricsLoaderFn`. func loadAPIRequestsNetworkMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error { connStats := globalConnStats.toServerConnStats() m.Set(apiTrafficSentBytes, float64(connStats.s3OutputBytes), "type", "s3") m.Set(apiTrafficRecvBytes, float64(connStats.s3InputBytes), "type", "s3") return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 9.4K bytes - Viewed (0)