- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 286 for metric (0.04 seconds)
-
cmd/metrics-v3-system-drive.go
func (m *MetricValues) setDriveAPIMetrics(disk madmin.Disk, labels []string) { if disk.Metrics == nil { return } m.Set(driveTimeoutErrorsTotal, float64(disk.Metrics.TotalErrorsTimeout), labels...) m.Set(driveIOErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability-disk.Metrics.TotalErrorsTimeout), labels...) m.Set(driveAvailabilityErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability), labels...)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7.8K bytes - Click Count (0) -
cmd/metrics-v3-system-cpu.go
cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100 m.Set(sysCPUNice, cpuNiceVal) cpuStealVal := math.Round(ts.Steal/tot*100*100) / 100 m.Set(sysCPUSteal, cpuStealVal) } // metrics-resource.go runs a job to collect resource metrics including their Avg values and // stores them in resourceMetricsMap. We can use it to get the Avg values of CPU idle and IOWait. cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem] if found {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jun 20 17:55:03 GMT 2024 - 3K bytes - Click Count (0) -
cmd/metrics-v3-cluster-health.go
"Count of online drives in the cluster") healthDrivesCountMD = NewGaugeMD(healthDrivesCount, "Count of all drives in the cluster") ) // loadClusterHealthDriveMetrics - `MetricsLoaderFn` for cluster storage drive metrics // such as online, offline and total drives. func loadClusterHealthDriveMetrics(ctx context.Context, m MetricValues, c *metricsCache, ) error { clusterDriveMetrics, _ := c.clusterDriveMetrics.Get()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 3.9K bytes - Click Count (0) -
cmd/metrics-v3-cluster-usage.go
usageVersionCountDistribution = "version_count_distribution" ) var ( usageSinceLastUpdateSecondsMD = NewGaugeMD(usageSinceLastUpdateSeconds, "Time since last update of usage metrics in seconds") usageTotalBytesMD = NewGaugeMD(usageTotalBytes, "Total cluster usage in bytes") usageObjectsCountMD = NewGaugeMD(usageObjectsCount, "Total cluster objects count")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6.5K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.5.md
* The implicit registration of Prometheus metrics for workqueue has been removed, and a plug-able interface was added. If you were using workqueue in your own binaries and want these metrics, add the following to your imports in the main package: "k8s.io/pkg/util/workqueue/prometheus". ([#33792](https://github.com/kubernetes/kubernetes/pull/33792), [@caesarxuchao]...
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Thu Dec 24 02:28:26 GMT 2020 - 136.4K bytes - Click Count (0) -
cmd/metrics-v2_gen.go
func (z MetricTypeV2) Msgsize() (s int) { s = msgp.StringPrefixSize + len(string(z)) return } // MarshalMsg implements msgp.Marshaler func (z *MetricV2) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 6 // string "Description" o = append(o, 0x86, 0xab, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19K bytes - Click Count (0) -
cmd/metrics-v3-ilm.go
ilmVersionsScannedMD = NewCounterMD(versionsScanned, "Total number of object versions checked for ILM actions since server start") ) // loadILMMetrics - `MetricsLoaderFn` for ILM metrics. func loadILMMetrics(_ context.Context, m MetricValues, _ *metricsCache) error { if globalExpiryState != nil { m.Set(expiryPendingTasks, float64(globalExpiryState.PendingTasks())) } if globalTransitionState != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jun 06 09:36:25 GMT 2024 - 2.3K bytes - Click Count (0) -
cmd/metrics-v3-cluster-iam.go
) // loadClusterIAMMetrics - `MetricsLoaderFn` for cluster IAM metrics. func loadClusterIAMMetrics(_ context.Context, m MetricValues, _ *metricsCache) error { m.Set(lastSyncDurationMillis, float64(atomic.LoadUint64(&globalIAMSys.LastRefreshDurationMilliseconds))) pluginAuthNMetrics := globalAuthNPlugin.Metrics() m.Set(pluginAuthnServiceFailedRequestsMinute, float64(pluginAuthNMetrics.FailedRequests))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu May 02 08:20:42 GMT 2024 - 4.5K bytes - Click Count (0) -
cmd/metrics-v3-replication.go
"Total number of objects seen in replication backlog in the last 5 minutes") ) // loadClusterReplicationMetrics - `MetricsLoaderFn` for cluster replication metrics // such as transfer rate and objects queued. func loadClusterReplicationMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { st := globalReplicationStats.Load() if st == nil { return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 4.6K bytes - Click Count (0) -
cmd/metrics-v3-system-network.go
internodeRecvBytesTotalMD = NewCounterMD(internodeRecvBytesTotal, "Total number of bytes received from other peer nodes") ) // loadNetworkInternodeMetrics - reads internode network metrics. // // This is a `MetricsLoaderFn`. func loadNetworkInternodeMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error { connStats := globalConnStats.toServerConnStats() rpcStats := rest.GetRPCStats()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 2.4K bytes - Click Count (0)