monitoring Openshift Cluster with External Promethus

52 views
Skip to first unread message

IndGirl6

unread,
Jun 7, 2019, 2:31:09 PM6/7/19
to Prometheus Users
Hi,

would appreciate it if some one can detail step by step or point me to a good document for this.
I have an Openshift Cluster setup. It already has its own prometheus and grafana  setup internally within the cluster.

External to this cluster, i also have another standalone Prometheus setup, that monitors my other devices (physical servers / databases / application etc).

I would like to be able to monitor my openshift cluster using the External standalone prometheus server.

Is this possible, can some one guide me on the setup. 

Thanks
IG6

Tarun Gupta

unread,
Feb 14, 2020, 1:28:20 PM2/14/20
to Prometheus Users
Were you able to figure this out. I have exactly the same problem to solve.

Thanks

Murali Krishna Kanagala

unread,
Feb 14, 2020, 5:29:02 PM2/14/20
to Tarun Gupta, Prometheus Users
You can scrape the Prometheus on the openshift using federation configuration on the external Prometheus. With this approach you don't have to persist the metrics on the openshift cluster(no need of persist storage)

Just expose the Prometheus on the open shift cluster using nodeport or something like that and add it to the federation configuration on your external Prometheus.


--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/ae87e731-f57b-4a6b-8b4e-0e26160c8f37%40googlegroups.com.

Aliaksandr Valialkin

unread,
Feb 24, 2020, 1:36:52 PM2/24/20
to Murali Krishna Kanagala, Tarun Gupta, Prometheus Users
Another option is to set up remote write from both Prometheus instances to a centralized external remote storage and then query the remote storage directly without the need of Prometheus. Unlike the approach with Prometheus federation, such a setup doesn't require allowing incoming connections to Openshift cluster.
See the list of supported remote storage systems at https://prometheus.io/docs/operating/integrations/#remote-endpoints-and-storage 



--
Best Regards,

Aliaksandr
Reply all
Reply to author
Forward
0 new messages