Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for proxy_livez_total (0.21 sec)

  1. pkg/proxy/metrics/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"code"},
    	)
    
    	// ProxyLivezTotal is the number of returned HTTP Status for each
    	// livez probe.
    	ProxyLivezTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem:      kubeProxySubsystem,
    			Name:           "proxy_livez_total",
    			Help:           "Cumulative proxy livez HTTP status",
    			StabilityLevel: metrics.ALPHA,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. pkg/proxy/healthcheck/healthcheck_test.go

    		testMetricEquals(metrics.ProxyHealthzTotal.WithLabelValues("503"), float64(hsTest.tracking503), t)
    	}
    	if hsTest.url == livezURL {
    		testMetricEquals(metrics.ProxyLivezTotal.WithLabelValues("200"), float64(hsTest.tracking200), t)
    		testMetricEquals(metrics.ProxyLivezTotal.WithLabelValues("503"), float64(hsTest.tracking503), t)
    	}
    }
    
    func testMetricEquals(metric basemetrics.CounterMetric, expected float64, t *testing.T) {
    	t.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top