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

[docs] Prometheus monitoring label issue #384

Open
jmcx opened this issue May 31, 2023 · 0 comments
Open

[docs] Prometheus monitoring label issue #384

jmcx opened this issue May 31, 2023 · 0 comments
Assignees

Comments

@jmcx
Copy link
Contributor

jmcx commented May 31, 2023

See https://triggermesh-community.slack.com/archives/C02GHUAQDCH/p1685085885165109?thread_ts=1684724222.983259&cid=C02GHUAQDCH for context.

Default prometheus operator install isn't compatible with our observability documentation.

Info: if you installed Prometheus with the operator, it uses a label selector for pod monitors. If you create a pod monitor that doesn't have those labels, prometheus will not pick it up. Solution is to either reconfigure the selector installed by Prometheus, which is:

Pod Monitor Selector:
Match Labels:
Release: kube-prometheus-stack

Or update the pod monitor to include label:

release=kube-prometheus-stack

@jmcx jmcx self-assigned this May 31, 2023
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