thanos receiver demo - setup problems - ... not solved #5513
Replies: 4 comments 1 reply
-
now I am wondering should I use thanos storage or not ? another problem occured during this instalation is that when I shut down one receiver...
from receivers side :
|
Beta Was this translation helpful? Give feedback.
-
I just remove from prometheus extra external labels and also from query and deleted all data with this deduplicate labels. also I used 2x load balancer VM on receiver side and 2x loadbalancers on query side each balancer have haproxy and keepalived. |
Beta Was this translation helpful? Give feedback.
-
I am abit frustrated... now problem again occure.. when I stop 1 of 3 receivers (replica 2x) scrapping is stopped due to : and
anyone could help to debug this issue ? |
Beta Was this translation helpful? Give feedback.
-
Hello, I just made setup with 5 receivers not 3 with replica 2x but in my opinion this is something that need to be fixed. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone !
I want to build Demo of thanos with receiver setup and I am stuck.
My whish setup in attached draw :
I was trying to acheive this with 3 thanos receiver based on mounted network storage with thanos query and prometheus writing data into receiver.
each receiver/query component = each virtual machine based on debian10 with mounted network storage
thanos version:
prometheus version:
prometheus configuration (I started with 1 prometeus writing to check is this working) :
cat /etc/systemd/system/prometheus.service
cat /etc/prometheus/prometheus.yml
(( I started without loadbalancers to check if this is working so I setup directly thanos receiver no1
each thanos receive component :
they are different by " --label "receive_replica="2"" " for example ip.131=1 , ip.132=2 , ip.133=3
I was testing also few options with "receive.replication-factor" with 1 , 2 , 3 ( I ended with 2)
10.128.5.131 , 10.128.5.132 , 10.128.5.133
also each IP have own folder 131 - thanos1, 132 - thanos2 , 133 - thanos3
cat /etc/thanos/object-store.yaml
cat /etc/thanos/hashring.json
thanos query setup (also without any load balancer to start it running)
10.128.5.129
I couldn't start storage next to query cause of "port in use" so I start another VM with storage :
10.128.5.130
cat /etc/systemd/system/thanosstorage.service
cat /etc/thanos/object-store.yaml
UPDATE !
when 1 receiver goes down ... there is no scrapping..
Beta Was this translation helpful? Give feedback.
All reactions