- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 97 for metric (0.19 sec)
-
cmd/data-scanner-metric.go
scannerMetricCleanAbandoned scannerMetricApplyNonCurrent scannerMetricHealAbandonedVersion // START Trace metrics: scannerMetricStartTrace scannerMetricScanObject // Scan object. All operations included. scannerMetricHealAbandonedObject // END realtime metrics: scannerMetricLastRealtime // Trace only metrics: scannerMetricScanFolder // Scan a folder on disk, recursively.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 25 05:15:31 GMT 2023 - 9.1K bytes - Viewed (0) -
cmd/metrics-resource.go
} key := getResourceKey(name, labels) metric, found := subsysMetrics[key] if !found { metric = ResourceMetric{ Name: name, Labels: labels, } } if isCumulative { metric.Current = val - metric.Cumulative metric.Cumulative = val } else { metric.Current = val } if metric.Current > metric.Max { metric.Max = val } metric.Sum += metric.Current
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Apr 23 23:56:12 GMT 2024 - 17.4K bytes - Viewed (0) -
cmd/metrics-v3-types.go
} // MetricsGroup - represents a group of metrics. It includes a `MetricsLoaderFn` // function that provides a way to load the metrics from the system. The metrics // are cached and refreshed after a given timeout. // // For metrics with a `bucket` dimension, a list of buckets argument is required // to collect the metrics. // // It implements the prometheus.Collector interface for metric groups without a
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 14.6K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
for _, d := range mg.Descriptors { labels := slices.Clone(d.VariableLabels) labels = append(labels, commonLabels...) metric := metricDisplay{ Name: mg.MetricFQN(d.Name), Help: d.Help, Type: d.Type.String(), Labels: labels, } metrics = append(metrics, metric) } } } return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 7.4K bytes - Viewed (0) -
cmd/scannermetric_string.go
// Code generated by "stringer -type=scannerMetric -trimprefix=scannerMetric data-scanner-metric.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[scannerMetricReadMetadata-0] _ = x[scannerMetricCheckMissing-1] _ = x[scannerMetricSaveUsage-2]
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 25 05:15:31 GMT 2023 - 1.7K bytes - Viewed (0) -
cmd/metrics-v2.go
metricsGroupOpts: opts, } mg.RegisterRead(func(_ context.Context) (metrics []MetricV2) { metrics = make([]MetricV2, 0, 16) nodesUp, nodesDown := globalNotificationSys.GetPeerOnlineCount() metrics = append(metrics, MetricV2{ Description: getNodeOnlineTotalMD(), Value: float64(nodesUp), }) metrics = append(metrics, MetricV2{ Description: getNodeOfflineTotalMD(),
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 25 22:01:31 GMT 2024 - 132.6K bytes - Viewed (0) -
cmd/tier_test.go
} for i := 0; i < expFailure; i++ { globalTierMetrics.logFailure(tier) } metrics := globalTierMetrics.Report() var succ, fail float64 for _, metric := range metrics { switch metric.Description.Name { case tierRequestsSuccess: succ += metric.Value case tierRequestsFailure: fail += metric.Value } } if int(succ) != expSuccess {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Dec 21 04:13:40 GMT 2023 - 1.5K bytes - Viewed (0) -
cmd/site-replication-metrics.go
t = &m } mx[Total] = *t metric := SRMetric{ ReplicatedSize: v.ReplicatedSize, ReplicatedCount: v.ReplicatedCount, DeploymentID: dID, Failed: v.Failed.toMetric(), XferStats: mx, } epHealth, ok := epMap[v.Endpoint] if ok { metric.Endpoint = epHealth.Endpoint metric.TotalDowntime = epHealth.offlineDuration metric.LastOnline = epHealth.lastOnline
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Feb 06 06:00:45 GMT 2024 - 8.2K bytes - Viewed (0) -
cmd/metrics-v3.go
clusterNotificationMG, } // Bucket metrics are special, they always include the bucket label. These // metrics required a list of buckets to be passed to the loader, and the list // of buckets is not known until the request is made. So we keep a separate // map for bucket metrics and handle them specially. // Add the serverName and poolIndex labels to all non-cluster metrics. //
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 26 16:07:23 GMT 2024 - 10K bytes - Viewed (0) -
cmd/metrics.go
desc *prometheus.Desc } // Describe sends the super-set of all possible descriptors of metrics func (c *minioCollector) Describe(ch chan<- *prometheus.Desc) { ch <- c.desc } // Collect is called by the Prometheus registry when collecting metrics. func (c *minioCollector) Collect(ch chan<- prometheus.Metric) { // Expose MinIO's version information minioVersionInfo.WithLabelValues(Version, CommitID).Set(1.0)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Apr 02 06:48:36 GMT 2024 - 16.9K bytes - Viewed (0)