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 upremote_read from prometheus1.8.2 doesn't work #5129
Comments
This comment has been minimized.
This comment has been minimized.
|
Can you show us logs from the 2.6.1 server? When you say you only see metrics from the 2.6.1 container, you mean when you run a query? To be clear, remote read would run queries against your other container, it doesn't mean the 2.6.1 instance is actively reading the data from your old prometheus instance and storing it locally. |
This comment has been minimized.
This comment has been minimized.
|
@cstyan yeah I'm querying 2.6.1 for metrics that exist on 1.8.2 and don't get any. |
This comment has been minimized.
This comment has been minimized.
|
EDIT: I was wrong, sorry. I might be missing something, but I am under the impression no version of Prometheus supports The remote interface was added to allow talking to a non-Prometheus store, e.g. Cortex or Influxdb. |
This comment has been minimized.
This comment has been minimized.
|
There's a remote read endpoint on Prometheus itself. |
zerthimon commentedJan 23, 2019
•
edited
Bug Report
What did you do?
I'm in the process of migration from 1.8.2 to 2.6.1
Old container 1.8.2:
started with
--web.listen-address=:9090New container 2.6.1:
Both docker containers are on the same host, the new container links the old one on the name
prometheus-server-oldWhat did you expect to see?
Metrics from the old container.
What did you see instead? Under which circumstances?
Only metrics from the the new container.
I'm able to get metrics inside the new container from the old container using
curl http://prometheus-server-old:9090/api/v1/query?query= ...