You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm studying Prometheus Operator from the project:
https://github.com/prometheus-operator/kube-prometheus
When my service/deployment is in the same "monitoring" namespace as prometheus I have success to visualize metrics.
Example:
In the way mentioned above I have success in the same namespace "monitoring"
However I need my Prometheus-operator to collect metrics from other namespaces that I will create. So I used the parameter "namespaceSelector".
That way the metrics don't appear in prometheus, but they are in my Prometheus config.
Do I need to add any more elements? so that Service Monitor can collect metrics from other namespaces?
I already validated in my ClusterRole and Prometheus Operator has all permissions in namespaces.
Beta Was this translation helpful? Give feedback.
All reactions