jamessanford / remote-tsdb-clickhouse

A remote writer/reader for Prometheus that stores TSDB data in ClickHouse
Apache License 2.0
28 stars 12 forks source link

Try to sync to instance of Prometheus #7

Closed andrelec1 closed 10 months ago

andrelec1 commented 10 months ago

I setup 2 Prometheus with this plugin using same clickhouse database .

the first one have a scrape_configs to scrap a rabbitmq endpoint, and i try to read the data from the second one ...

but look like this doesnt work :/

image

How i can force the second one to read data from clickhouse ?

andrelec1 commented 10 months ago

oups sorry ...

remove the :

   required_matchers:
   remote: clickhouse

from the config, to force prometheus to use the remote ... and it work without the tag :)

andrelec1 commented 10 months ago

Well, gafana can get data from this Prometeus instance :/