Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,328 for Metric2 (0.52 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go

    var registerMetrics sync.Once
    
    // Register all metrics.
    func Register() {
    	registerMetrics.Do(func() {
    		for _, metric := range metrics {
    			legacyregistry.MustRegister(metric)
    		}
    	})
    }
    
    // Reset all metrics.
    func Reset() {
    	for _, metric := range metrics {
    		metric.Reset()
    	}
    }
    
    // UpdateInflightRequestMetrics reports concurrency metrics classified by
    // mutating vs Readonly.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 35K bytes
    - Viewed (0)
  2. pkg/test/echo/common/metrics.go

    package common
    
    import (
    	"istio.io/istio/pkg/monitoring"
    )
    
    type EchoMetrics struct {
    	HTTPRequests monitoring.Metric
    	GrpcRequests monitoring.Metric
    	TCPRequests  monitoring.Metric
    }
    
    var (
    	PortLabel = monitoring.CreateLabel("port")
    	Metrics   = &EchoMetrics{
    		HTTPRequests: monitoring.NewSum(
    			"istio_echo_http_requests_total",
    			"The number of http requests total",
    		),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. 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)
  4. pkg/kubelet/server/metrics/metrics.go

    limitations under the License.
    */
    
    package metrics
    
    import (
    	"sync"
    	"time"
    
    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const (
    	kubeletSubsystem = "kubelet"
    )
    
    var (
    	// HTTPRequests tracks the number of the http requests received since the server started.
    	HTTPRequests = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      kubeletSubsystem,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 19 14:33:37 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. 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)
  6. pkg/kubelet/volumemanager/metrics/metrics.go

    // CollectWithStability implements the metrics.StableCollector interface.
    func (c *totalVolumesCollector) CollectWithStability(ch chan<- metrics.Metric) {
    	for stateName, pluginCount := range c.getVolumeCount() {
    		for pluginName, count := range pluginCount {
    			ch <- metrics.NewLazyConstMetric(totalVolumesDesc,
    				metrics.GaugeValue,
    				float64(count),
    				pluginName,
    				stateName)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 06 16:48:59 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/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 (
    	listCacheCount = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/egressselector/metrics/metrics.go

    	latencyBuckets = []float64{0.005, 0.025, 0.1, 0.5, 2.5, 12.5}
    
    	// Metrics provides access to all dial metrics.
    	Metrics = newDialMetrics()
    )
    
    // DialMetrics instruments dials to proxy server with prometheus metrics.
    type DialMetrics struct {
    	clock     clock.Clock
    	starts    *metrics.CounterVec
    	latencies *metrics.HistogramVec
    	failures  *metrics.CounterVec
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 01 23:36:51 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. pkg/controller/replicaset/metrics/metrics.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package metrics
    
    import (
    	"k8s.io/component-base/metrics"
    )
    
    const ReplicaSetControllerSubsystem = "replicaset_controller"
    
    var SortingDeletionAgeRatio = metrics.NewHistogram(
    	&metrics.HistogramOpts{
    		Subsystem: ReplicaSetControllerSubsystem,
    		Name:      "sorting_deletion_age_ratio",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 15:28:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top