- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for proxy_livez_total (0.5 sec)
-
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) -
pkg/proxy/healthcheck/proxier_health.go
resp.Header().Set("Content-Type", "application/json") resp.Header().Set("X-Content-Type-Options", "nosniff") if !healthy { metrics.ProxyLivezTotal.WithLabelValues("503").Inc() resp.WriteHeader(http.StatusServiceUnavailable) } else { metrics.ProxyLivezTotal.WithLabelValues("200").Inc() resp.WriteHeader(http.StatusOK) // In older releases, the returned "lastUpdated" time indicated the last
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 16 10:41:18 UTC 2023 - 8K bytes - Viewed (0) -
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)