Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for celmetrics (0.33 sec)

  1. pkg/kubelet/stats/host_stats_provider_fake.go

    	result := rootFsInfoToFsStats(rootFsInfo)
    	for i, metricsProvider := range metricsProviders {
    		hostMetrics, err := metricsProvider.GetMetrics()
    		if err != nil {
    			return nil, fmt.Errorf("failed to get stats for item %d: %v", i, err)
    		}
    		usedBytes := uint64(hostMetrics.Used.Value())
    		inodesUsed := uint64(hostMetrics.InodesUsed.Value())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:57:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go

    		}()
    	}
    
    	if !served {
    		setResponseHeaders(classification, w)
    
    		epmetrics.RecordDroppedRequest(r, requestInfo, epmetrics.APIServerComponent, isMutatingRequest)
    		epmetrics.RecordRequestTermination(r, requestInfo, epmetrics.APIServerComponent, http.StatusTooManyRequests)
    		h.droppedRequests.RecordDroppedRequest(classification.PriorityLevelName)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. pkg/kubelet/metrics/collectors/cri_metrics.go

    		return
    	}
    
    	for _, podMetric := range podMetrics {
    		for _, metric := range podMetric.GetMetrics() {
    			promMetric, err := c.criMetricToProm(metric)
    			if err == nil {
    				ch <- promMetric
    			}
    		}
    		for _, ctrMetric := range podMetric.GetContainerMetrics() {
    			for _, metric := range ctrMetric.GetMetrics() {
    				promMetric, err := c.criMetricToProm(metric)
    				if err == nil {
    					ch <- promMetric
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 13:24:29 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go

    }
    
    var waitingReadonly = indexOnce{labelValues: []string{LabelValueWaiting, epmetrics.ReadOnlyKind}}
    var executingReadonly = indexOnce{labelValues: []string{LabelValueExecuting, epmetrics.ReadOnlyKind}}
    var waitingMutating = indexOnce{labelValues: []string{LabelValueWaiting, epmetrics.MutatingKind}}
    var executingMutating = indexOnce{labelValues: []string{LabelValueExecuting, epmetrics.MutatingKind}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 19:40:05 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/host_stats_provider.go

    	if _, err := os.Stat(podEtcHostsPath); os.IsNotExist(err) {
    		return nil, nil
    	}
    
    	metrics := volume.NewMetricsDu(podEtcHostsPath)
    	hostMetrics, err := metrics.GetMetrics()
    	if err != nil {
    		return nil, fmt.Errorf("failed to get stats %v", err)
    	}
    	result := rootFsInfoToFsStats(rootFsInfo)
    	usedBytes := uint64(hostMetrics.Used.Value())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. pkg/controller/endpointslicemirroring/reconciler.go

    	}
    
    	// Build data structures for existing state.
    	existingSlicesByKey := endpointSlicesByKey(existingSlices)
    
    	// Determine changes necessary for each group of slices by port map.
    	epMetrics := metrics.NewEndpointPortCache()
    	totals := totalsByAction{}
    	slices := slicesByAction{}
    
    	for portKey, desiredEndpoints := range d.endpointsByKey {
    		numEndpoints := len(desiredEndpoints)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector_test.go

    	"k8s.io/component-base/metrics/legacyregistry"
    	"k8s.io/component-base/metrics/testutil"
    	testingclock "k8s.io/utils/clock/testing"
    	clientmetrics "sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client/metrics"
    	ccmetrics "sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/common/metrics"
    	"sigs.k8s.io/apiserver-network-proxy/konnectivity-client/proto/client"
    )
    
    type fakeEgressSelection struct {
    	directDialerCalled bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 26 22:41:29 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    	}
    }
    
    // Fake volume/metrics provider
    var _ volume.Volume = &fakeVolume{}
    
    type fakeVolume struct{}
    
    func (v *fakeVolume) GetPath() string { return "" }
    
    func (v *fakeVolume) GetMetrics() (*volume.Metrics, error) {
    	return expectedMetrics(), nil
    }
    
    func expectedMetrics() *volume.Metrics {
    	vMetrics := &volume.Metrics{
    		Available:  resource.NewQuantity(available, resource.BinarySI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. operator/cmd/operator/server.go

    	"sigs.k8s.io/controller-runtime/pkg/cache"
    	"sigs.k8s.io/controller-runtime/pkg/client/config"
    	"sigs.k8s.io/controller-runtime/pkg/manager"
    	"sigs.k8s.io/controller-runtime/pkg/manager/signals"
    	ctrlmetrics "sigs.k8s.io/controller-runtime/pkg/metrics"
    	metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"
    
    	root "istio.io/istio/operator/cmd/mesh"
    	"istio.io/istio/operator/pkg/apis"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 30 21:09:08 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. pkg/kubelet/server/stats/volume_stat_calculator.go

    			}
    		}
    	}
    
    	// Get volume specs for the pod - key'd by volume name
    	volumesSpec := make(map[string]v1.Volume)
    	for _, v := range s.pod.Spec.Volumes {
    		volumesSpec[v.Name] = v
    	}
    
    	// Call GetMetrics on each Volume and copy the result to a new VolumeStats.FsStats
    	var ephemeralStats []stats.VolumeStats
    	var persistentStats []stats.VolumeStats
    	for name, v := range metricVolumes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 29 00:55:10 UTC 2022
    - 7.1K bytes
    - Viewed (0)
Back to top