Skip to content

Missing agones_k8s_client_cache_* metrics #3540

@Kalaiselvi84

Description

@Kalaiselvi84

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

Metadata

Metadata

Assignees

Labels

area/operationsInstallation, updating, metrics etcawaiting-maintainerBlock issues from being stale/obsolete/closedhelp wantedWe would love help on these issues. Please come help us!kind/bugThese are bugs.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions