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

Accessing kube-state-metrics in a Specific Namespace with MonitoringStack #529

Open
grigassukys opened this issue Jul 8, 2024 · 0 comments

Comments

@grigassukys
Copy link

Hello,

I’m currently using the Cluster Observability Operator to create a MonitoringStack in my specific namespace. When I navigate to Developer > Observe, I can write PromQL queries and see all the “kube” labels. However, I would like to scrape these metrics using my own instance of Prometheus, which is deployed by the MonitoringStack.

As I understand it, kube-state-metrics is deployed in the openshift-monitoring namespace and provides provides metrics to all namespaces, but only on GUI. My question is, how can I access these metrics in Prometheus within my own namespace? I’m trying to avoid deploying additional instances of kube-state-metrics in each namespace.

Any guidance or suggestions would be greatly appreciated.

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

1 participant