Discourage the usage of `/metrics` for any probe, and use `/readyz` in
place of the earlier telemetry metrics endpoint to secure the exposition
data.
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Add a `livez` endpoint to identify network outages. This helps in
restarting the binary if such as case is observed.
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Implements https://pkg.go.dev/k8s.io/api/discovery/v1#EndpointSlice
This resourcetype is disabled by default as they are very verbose and
have a high cardinality.
Metrics from endpointslices can be used to identify if specific pods are
part of an endpoint and thus discoverable through a service.
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
* [FEATURE] Add --use-apiserver-cache flag to set resourceVersion=0 for ListWatch requests #1548
* [FEATURE] Introduce metrics for Kubernetes object annotations #1468
* [FEATURE] Introduce start time metric for containers in terminated state #1519
* [FEATURE] Introduce metrics for cronjob job history limits #1535
* [FEATURE] Add system_uuid dimension to kube_node_info metric #1535
* [FEATURE] Add available replica metric for statefulsets #1532
* [FEATURE] Add ready replica metric for deployments #1534
* [CHANGE] Update go clients for Kubernetes to support 1.22 #1545
* [CHANGE] Use new promlint package and update prometheus cli to 2.28.1 #1531
* [CHANGE] Replace multiListWatcher with independent listWatchers per namespace #1499
* [CHANGE] go.mod: Update and minimize dependencies #1529
* [BUGFIX] Use BuilderInterface instead of internal/store.Builder in metricshandler #1537
* [BUGFIX] Add WithAllowLabels to public BuilderInterface #1514