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
Remote Write enablement #6470
Comments
If you are running Prometheus-Operator, you can specify the remote write config in the corresponding Promtheus CR itself. See here. Unless you have a very specific reason to use the config map, maybe this will help? |
In case you do want to use the config map, something like |
I'm not sure to understand your issue. The right way to configure the OCP Prometheus is via the CMO configmap though I'm not sure why you have |
Hi @mviswanathsai , @simonpasquier
And to add on this for remote_write url
seems prometheus object is restricting to create the statefulset with remote_write option, could you please suggest |
There's no such restriction. I would check the status field of the Prometheus object and the prometheus-operator logs.
This is a very old version. I'd advise to upgrade. |
Thanks for the advice @simonpasquier but I believe this is the latest prometheus operator version which is available in the Redhat Marketplace |
What happened?
Description
We are looking for a solution on remote write feature enablement.
In our case, We have multiple openshift clusters and we are trying to centralize these under one grafana dashboard.
In above image we could see there are 2 clusters, cluster 1 and cluster2 where we have prometheus installed in different namespaces. customized prometheus-operator installed in one namespace and another comes default with openshift itself and which is present under openshift-monitoring namespace.
Here, we are trying to remote_write the date from default prometheus from openshift-monitoring to customized promethues server.
In customized prometheus, promethus installed via prometheus as a separate prometheus object and exposing the prometheus service.
https://blog.container-solutions.com/prometheus-operator-beginners-guide
https://grafana.com/blog/2023/01/19/how-to-monitor-kubernetes-clusters-with-the-prometheus-operator/
Here, we are trying to customize the prometheus yaml configuration however it is not allowing us to change or modify anything in the statefulset which generates post deployment of prometheus.
we are looking for an option where we could add the remote write configuration as configmap and mount that as volume in customize prometheus configuration.
Configmap for reference :
Really appreciated your suggestions and support.
Prometheus Operator Version
Kubernetes Version
Kubernetes Cluster Type
OpenShift
How did you deploy Prometheus-Operator?
Other (please comment)
Manifests
No response
prometheus-operator log output
Anything else?
No response
The text was updated successfully, but these errors were encountered: