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
On Sat, Feb 15, 2020 at 12:29 AM Murali Krishna Kanagala < [email protected]> wrote: > 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. > > https://prometheus.io/docs/prometheus/latest/federation/ > > On Fri, Feb 14, 2020, 12:28 PM Tarun Gupta <[email protected]> > wrote: > >> Were you able to figure this out. I have exactly the same problem to >> solve. >> >> Thanks >> >> On Friday, June 7, 2019 at 11:31:09 AM UTC-7, IndGirl6 wrote: >>> >>> 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 >>> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/prometheus-users/ae87e731-f57b-4a6b-8b4e-0e26160c8f37%40googlegroups.com >> <https://groups.google.com/d/msgid/prometheus-users/ae87e731-f57b-4a6b-8b4e-0e26160c8f37%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/CAKimyZsm4GzkahGEX%3DgObF46UVssYN%3DaAfFAyG-pDLLuL1d1AQ%40mail.gmail.com > <https://groups.google.com/d/msgid/prometheus-users/CAKimyZsm4GzkahGEX%3DgObF46UVssYN%3DaAfFAyG-pDLLuL1d1AQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Best Regards, Aliaksandr -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAPbKnmBdTEqmkBL4J5GyeuJtbLDOnZMHXCaYf%2BNXgJ9imtJYhQ%40mail.gmail.com.

