Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for metric (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // target specifies the target value for the given metric
      optional MetricTarget target = 2;
    
      // metric identifies the target metric by name and selector
      optional MetricIdentifier metric = 3;
    }
    
    // ObjectMetricStatus indicates the current value of a metric describing a
    // kubernetes object (for example, hits-per-second on an Ingress object).
    message ObjectMetricStatus {
      // metric identifies the target metric by name and selector
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto

      optional k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;
    
      // selector is the string-encoded form of a standard kubernetes label selector for the given metric
      // When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping
      // When unset, just the metricName will be used to gather metrics.
      // +optional
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  7. 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)
  8. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      // target specifies the target value for the given metric
      optional MetricTarget target = 2;
    
      // metric identifies the target metric by name and selector
      optional MetricIdentifier metric = 3;
    }
    
    // ObjectMetricStatus indicates the current value of a metric describing a
    // kubernetes object (for example, hits-per-second on an Ingress object).
    message ObjectMetricStatus {
      // metric identifies the target metric by name and selector
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/autoscaling/v1/generated.proto

      optional k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;
    
      // selector is the string-encoded form of a standard kubernetes label selector for the given metric.
      // When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping
      // When unset, just the metricName will be used to gather metrics.
      // +optional
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22K bytes
    - Viewed (0)
  10. 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)
Back to top