-
Notifications
You must be signed in to change notification settings - Fork 861
Description
What happened:
Setup of a GKE Autopilot cluster with Agones was completed, and Prometheus was configured for collecting metrics. During the setup of Grafana dashboards, it was observed that the agones_k8s_client_cache_*
metrics are missing. These metrics are not present in the Prometheus exports from the /metrics
endpoints of any services.
What you expected to happen:
Expected the agones_k8s_client_cache_* metrics in Grafana dashboards
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
It's possible that the metrics exported from client-go have changed. Relevant code is here, in case you want to take a look: https://github.com/googleforgames/agones/blob/e5d89bc2f47c6a34662c6afa6f1a057e250f81a8/pkg/metrics/kubernetes_client.go#L199C8-L199C35
Environment:
- Agones version: 1.36.0
- Kubernetes version (use
kubectl version
): 1.28 - Cloud provider or hardware configuration: GKE Autopilot