Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for Metric2 (0.97 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
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. pkg/proxy/metrics/metrics.go

    	if n.client != nil {
    		counter, err := n.client.Get(n.counter)
    		if err != nil {
    			klog.ErrorS(err, "failed to collect nfacct counter", "counter", n.counter)
    		} else {
    			metric, err := metrics.NewConstMetric(n.description, metrics.CounterValue, float64(counter.Packets))
    			if err != nil {
    				klog.ErrorS(err, "failed to create constant metric")
    			} else {
    				ch <- metric
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. 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)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K 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
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. cmd/metrics-v3.go

    )
    
    // Collector paths.
    //
    // These are paths under the top-level /minio/metrics/v3 metrics endpoint. Each
    // of these paths returns a set of V3 metrics.
    //
    // Per-bucket metrics endpoints always start with /bucket and the bucket name is
    // appended to the path. e.g. if the collector path is /bucket/api, the endpoint
    // for the bucket "mybucket" would be /minio/metrics/v3/bucket/api/mybucket
    const (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/autoscaling/v2/types.go

    	// target specifies the target value for the given metric
    	Target MetricTarget `json:"target" protobuf:"bytes,2,name=target"`
    
    	// metric identifies the target metric by name and selector
    	Metric MetricIdentifier `json:"metric" protobuf:"bytes,3,name=metric"`
    }
    
    // PodsMetricSource indicates how to scale on a metric describing each pod in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v1/types.go

    	TargetValue resource.Quantity `json:"targetValue" protobuf:"bytes,3,name=targetValue"`
    
    	// 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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. src/runtime/metrics/doc.go

    metric sets may not intersect.
    
    # Interface
    
    Metrics are designated by a string key, rather than, for example, a field name in
    a struct. The full list of supported metrics is always available in the slice of
    Descriptions returned by [All]. Each [Description] also includes useful information
    about the metric.
    
    Thus, users of this API are encouraged to sample supported metrics defined by the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. pilot/pkg/model/telemetry.go

    		return other.Metrics[i].Providers[0].Name < other.Metrics[j].Providers[0].Name
    	})
    	for i := range ct.Metrics {
    		if ct.Metrics[i].ReportingInterval != nil && other.Metrics[i].ReportingInterval != nil {
    			if ct.Metrics[i].ReportingInterval.AsDuration() != other.Metrics[i].ReportingInterval.AsDuration() {
    				return false
    			}
    		}
    		if ct.Metrics[i].Providers != nil && other.Metrics[i].Providers != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. pilot/pkg/model/telemetry_test.go

    	}
    	emptyPrometheus := &tpb.Telemetry{
    		Metrics: []*tpb.Metrics{
    			{
    				Providers: []*tpb.ProviderRef{{Name: "prometheus"}},
    			},
    		},
    	}
    	overridesPrometheus := &tpb.Telemetry{
    		Metrics: []*tpb.Metrics{
    			{
    				Providers: []*tpb.ProviderRef{{Name: "prometheus"}},
    				Overrides: overrides,
    			},
    		},
    	}
    	reportingInterval := &tpb.Telemetry{
    		Metrics: []*tpb.Metrics{
    			{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top