Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for metric_type (0.15 sec)

  1. pkg/controller/podautoscaler/monitor/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		}, []string{"action", "error", "metric_type"})
    	metricComputationDuration = metrics.NewHistogramVec(
    		&metrics.HistogramOpts{
    			Subsystem:      hpaControllerSubsystem,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 22:47:24 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/monitor/monitor.go

    func (r *monitor) ObserveMetricComputationResult(action ActionLabel, err ErrorLabel, duration time.Duration, metricType v2.MetricSourceType) {
    	metricComputationTotal.WithLabelValues(string(action), string(err), string(metricType)).Inc()
    	metricComputationDuration.WithLabelValues(string(action), string(err), string(metricType)).Observe(duration.Seconds())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 22:47:24 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. pkg/kubelet/metrics/collectors/cri_metrics.go

    		klog.V(5).ErrorS(err, "Descriptor not present in pre-populated list of descriptors", "name", m.Name)
    		return nil, err
    	}
    
    	typ := criTypeToProm[m.MetricType]
    
    	pm, err := metrics.NewConstMetric(desc, typ, float64(m.GetValue().Value), m.LabelValues...)
    	if err != nil {
    		klog.ErrorS(err, "Error getting CRI prometheus metric", "descriptor", desc.String())
    		return nil, err
    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. cmd/metrics-realtime.go

    	"github.com/shirou/gopsutil/v3/load"
    )
    
    type collectMetricsOpts struct {
    	hosts map[string]struct{}
    	disks map[string]struct{}
    	jobID string
    	depID string
    }
    
    func collectLocalMetrics(types madmin.MetricType, opts collectMetricsOpts) (m madmin.RealtimeMetrics) {
    	if types == madmin.MetricsNone {
    		return
    	}
    
    	byHostName := globalMinioAddr
    	if len(opts.hosts) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. cmd/metrics-v3-cache.go

    		loadDriveMetrics)
    }
    
    func newCPUMetricsCache() *cachevalue.Cache[madmin.CPUMetrics] {
    	loadCPUMetrics := func(ctx context.Context) (v madmin.CPUMetrics, err error) {
    		var types madmin.MetricType = madmin.MetricsCPU
    
    		m := collectLocalMetrics(types, collectMetricsOpts{
    			hosts: map[string]struct{}{
    				globalLocalNodeName: {},
    			},
    		})
    
    		for _, hm := range m.ByHost {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-drive.go

    	drivePercUtilMD = NewGaugeMD(drivePercUtil,
    		"Percentage of time the disk was busy",
    		allDriveLabels...)
    )
    
    func getCurrentDriveIOStats() map[string]madmin.DiskIOStats {
    	var types madmin.MetricType = madmin.MetricsDisk
    	driveRealtimeMetrics := collectLocalMetrics(types, collectMetricsOpts{
    		hosts: map[string]struct{}{
    			globalLocalNodeName: {},
    		},
    	})
    
    	stats := map[string]madmin.DiskIOStats{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top