Closed BGrasnick closed 6 months ago
@BGrasnick I am going to close this due to the reason mentioned above. Please feel free to reopen if you have found a solution for this. Meanwhile we have added the dashboards to developer view as well. So any user with view
role to the kepler deployment namespace should be able to see all metrics.
See #369
This PR makes the ServiceMonitor relabel namespace to have the same value as container_namespace instead of "openshift-kepler-operator" applied after scraping so that it is more straight-forward to use the metrics.
Also adds label
"openshift.io/cluster-monitoring": "true"
so that the metrics get scraped by openshift-monitoring instead of user workload monitoring which makes usage more straight-forward. I am not sure if this is wanted for kepler-operator but in our use case it would be much better. In case this is not the intended behaviour, we can just revert the corresponding commit.Was tested and works on OpenShift 4.11 cluster.
Addresses #302