Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 640 for Metric2 (0.35 sec)

  1. 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(),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go

     *
     * Promoting the stability level of the metric is a responsibility of the component owner, since it
     * involves explicitly acknowledging support for the metric across multiple releases, in accordance with
     * the metric stability policy.
     */
    var (
    	etcdRequestLatency = compbasemetrics.NewHistogramVec(
    		&compbasemetrics.HistogramOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. 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)
  5. pkg/controller/job/metrics/metrics.go

    	//   action:          reconciling, tracking, pods_created, pods_deleted
    	JobSyncDurationSeconds = metrics.NewHistogramVec(
    		&metrics.HistogramOpts{
    			Subsystem:      JobControllerSubsystem,
    			Name:           "job_sync_duration_seconds",
    			Help:           "The time it took to sync a job",
    			StabilityLevel: metrics.STABLE,
    			Buckets:        metrics.ExponentialBuckets(0.004, 2, 15),
    		},
    		[]string{"completion_mode", "result", "action"},
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. pkg/kubelet/metrics/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	NodeStartupDuration = metrics.NewGauge(
    		&metrics.GaugeOpts{
    			Subsystem:      KubeletSubsystem,
    			Name:           NodeStartupKey,
    			Help:           "Duration in seconds of node startup in total.",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	ImageGarbageCollectedTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/metrics.h

    limitations under the License.
    ==============================================================================*/
    // APIs for accessing SavedModel and checkpoint metric objects.
    //
    // In order to collect the data from these metrics, please add the metrics to
    // the provided monitoring platform. Unless configured with a user-specified
    // monitoring platform, the data is not collected in OSS.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. prow/config/metrics/metrics.yaml

    # With a startup probe and `--kubelet-insecure-tls` added.
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      labels:
        k8s-app: metrics-server
      name: metrics-server
      namespace: kube-system
    ---
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRole
    metadata:
      labels:
        k8s-app: metrics-server
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 20:51:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. 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)
  10. pkg/scheduler/metrics/metrics.go

    func BackoffPods() metrics.GaugeMetric {
    	return pendingPods.With(metrics.Labels{"queue": "backoff"})
    }
    
    // UnschedulablePods returns the pending pods metrics with the label unschedulable
    func UnschedulablePods() metrics.GaugeMetric {
    	return pendingPods.With(metrics.Labels{"queue": "unschedulable"})
    }
    
    // GatedPods returns the pending pods metrics with the label gated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:22:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top