Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for gaugeMetric (0.38 sec)

  1. cmd/metrics-v2.go

    	webhookOnline = "online"
    )
    
    const (
    	serverName = "server"
    )
    
    // MetricTypeV2 for the types of metrics supported
    type MetricTypeV2 string
    
    const (
    	gaugeMetric     = "gaugeMetric"
    	counterMetric   = "counterMetric"
    	histogramMetric = "histogramMetric"
    )
    
    // MetricDescription describes the metric
    type MetricDescription struct {
    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. pkg/scheduler/metrics/metrics.go

    }
    
    // ActivePods returns the pending pods metrics with the label active
    func ActivePods() metrics.GaugeMetric {
    	return pendingPods.With(metrics.Labels{"queue": "active"})
    }
    
    // BackoffPods returns the pending pods metrics with the label backoff
    func BackoffPods() metrics.GaugeMetric {
    	return pendingPods.With(metrics.Labels{"queue": "backoff"})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:22:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/tier.go

    		Namespace: nodeMetricNamespace,
    		Subsystem: tierSubsystem,
    		Name:      ttlbDistribution,
    		Help:      "Distribution of time to last byte for objects downloaded from warm tier",
    		Type:      gaugeMetric,
    	}
    
    	// {minio_node}_{tier}_{requests_success}
    	tierRequestsSuccessMD = MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: tierSubsystem,
    		Name:      tierRequestsSuccess,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: subSys,
    		Name:      name,
    		Help:      help,
    		Type:      gaugeMetric,
    	}
    }
    
    func getResourceMetrics() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: resourceMetricsCacheInterval,
    	}
    	mg.RegisterRead(func(ctx context.Context) []MetricV2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    }
    
    // Based on isRWOP, bump the right warning / error metric and either consume the error or return it.
    func handleSELinuxMetricError(err error, seLinuxSupported bool, warningMetric, errorMetric metrics.GaugeMetric) error {
    	if seLinuxSupported {
    		errorMetric.Add(1.0)
    		return err
    	}
    
    	// This is not an error yet, but it will be when support for other access modes is added.
    	warningMetric.Add(1.0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top