Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCan I use prometheus to read another prometheus data? #3348
Comments
This comment has been minimized.
This comment has been minimized.
|
Which Prometheus version(s) are you using? Remote read only got implemented Aug 3 in Prometheus 1.8.x and AFAIK does not exist in Prometheus 2.x yet. |
This comment has been minimized.
This comment has been minimized.
|
(and with that I mean the remote read server endpoint in Prometheus itself, not Prometheus being able to read remotely as a client, which has been there for a while) |
This comment has been minimized.
This comment has been minimized.
|
@juliusv thank you, I use Prometheus 1.8.0. You mean the remote read only can read data from remote storage rather than another Prometheus server ? |
This comment has been minimized.
This comment has been minimized.
|
@songjiayang No, starting with Prometheus 1.8.0, Prometheus itself should also be able to act as a remote read server, meaning that another Prometheus should be able to remotely read from it. So I am not sure why it does not work for you. Are you just getting the results of the local server, or are you getting a query error? What query are you sending? |
This comment has been minimized.
This comment has been minimized.
|
@juliusv I run two Prometheus server on my computer, I get data from the local server.
|
This comment has been minimized.
This comment has been minimized.
Wing924
commented
Oct 28, 2017
•
I also want to know this detail about new feature from 1.8.0 :) |
This comment has been minimized.
This comment has been minimized.
|
Please ask such questions on our mailing list. The issue tracker is only for bug reports and feature requests. See https://prometheus.io/community/ for more information. |
grobie
closed this
Nov 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
songjiayang commentedOct 25, 2017
I guess
remote_readis the key word, So I do a test, there are my configsprometheus1: (slave node)
prometheus 2: (master node)
I want prometheus2's query can list prometheus1's data, but it not.
My question is that
remote_readis the right way and how to config it?