On 25/02/2021 06:55, Saurabh Vartak wrote:
Hi Stuart,

Thanks for all the help on this. I have created a Grafana cloud account and their documentation states that it is possible to send the metrics from one Prometheus server to the Prometheus instance on Grafana cloud: https://grafana.com/docs/grafana-cloud/metrics/prometheus/

|remote_write: - url: https://prometheus-us-central1.grafana.net/api/prom/push <http://central1.grafana.net/api/prom/push> basic_auth: username: <Your Metrics instance ID> password: <Your Grafana.com API Key>|

I thought that this can be duplicated for my on-premise set up. I am assuming that it is the Pushgateway to which the metrics are pushed from the source Prometheus server to destination Prometheus server. Any ideas on this?

Grafana may be using the experimental feature I mentioned or other custom code.

Pushgateway is not useful here - it is designed for short lived processes (such as cron jobs) which can't be scraped directly, and uses a different API (not the remote write API).

Maybe it would help if you could describe what you are trying to do from a non-technical perspective? Why are you trying to send metrics from one server to another?

--
Stuart Clark

--
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/87cad500-a61d-8f17-3fe7-f6c8f76ad075%40Jahingo.com.

Reply via email to