Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where does the $cluster variable come from? #727

Open
zachfi opened this issue Jan 3, 2022 · 2 comments
Open

Where does the $cluster variable come from? #727

zachfi opened this issue Jan 3, 2022 · 2 comments

Comments

@zachfi
Copy link

zachfi commented Jan 3, 2022

Good day,

I see a few tickets about this, but none seem to apply to me. I've got a single cluster and am trying to use this mixin, but the $cluster variable is empty due to the kube_pod_info metric missing the label for cluster. How do I add that label to my cluster so that the dashboards will work? Is that in the prometheus scrape configs, or the global config, or something that is in $._config of this mixin?

@paulfantom
Copy link
Member

@dimm0
Copy link
Contributor

dimm0 commented Jan 20, 2022

Is there a more general example? Which section does it go to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants