Skip to content

Metrics naming is not updated in docs #1937

@lumaks-redox

Description

@lumaks-redox

What steps did you take and what happened:
I was checking metrics to figure out why we are getting OOM kills and couldn't find any metrics from this doc https://secrets-store-csi-driver.sigs.k8s.io/topics/metrics even though we are collecting them.

What did you expect to happen:
Expected to see metrics in our grafana

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

My colleague, @gregarndt, found that naming is different and looks like it's related to this

Once he discovered that, we were able to find metrics:

Image

Apart from naming mismatch, we discovered that these metrics will only show up on pods that did any work with secrets mounting, so if you port-fowrard service to validate metric names, you might hit the pod without any metrics which added to the confusing, it might be good to add that clarification to docs.

Which provider are you using:
[e.g. Azure Key Vault, HashiCorp Vault, etc. Have you checked out the provider's repo for more help?]

Environment:

  • Secrets Store CSI Driver version: (use the image tag): 1.5.3
  • Kubernetes version: (use kubectl version):
Client Version: v1.33.3
Kustomize Version: v5.6.0
Server Version: v1.32.8-eks-e386d34

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    Subprojects - Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions