Missing data around ingesters memberlist but perfect from store #7585
-
Hi Team, 5 instances with 5 Grafana Agent Flow mode each, writing node_exporter data to 3 Monolithic mode Mimirs which are behind Nginx load balancer, s3 storage - Minio. My problem is that after adding mimir datasource i see gaps of missing data for last 12 hours(which i am sure - tsdb default retention time period), but after - data perfectly consistent without any gaps. I have removed all retention options and i still got 2 hours period with gaps(because of block ranges period), but rest - complete perfect. Also when i am refreshing panel every time it shows different data. I might not understand if it's by design and the only way to see ingesters data - to use only one igester or with consul. How can i make grafana shows me panels without missing data when i see the panel in my grafana dashboards? I have been reading and experimenting with all configuration from issues here in git - but no luck. Could someone tell me the right direction? Thank you in advance. At the beginning i have pretty much simple config to make sure most of configuration are default, but after i comes with one suggestion - So currently i have config:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
To make sure I understand the setup, do you run ingesters configured with the default replication factor ( Could you share the details of the configuration you run Mimir with? |
Beta Was this translation helpful? Give feedback.
-
yes, replication factor is default = 3. |
Beta Was this translation helpful? Give feedback.
-
what you say this do you mean that you have 3 replicas in the same mimir cluster and they share the same memberlist cluster and memberlist cluster label and one write goes to only one writer OR they are 3 completely disjoint clusters that each receives writes? From the config Alternatively you can just use mostly the exact same config (at least same memberlist cluster label) for all 3 replicas and they will be 1 mimir cluster which internally replicas incoming data. Mimir was design with this use case in mind. |
Beta Was this translation helpful? Give feedback.
-
Hello, @dimitarvdimitrov What i am saying i used horizontally scaled suggested schema from documentation: i have exact the same configuration on all mimir instances(except IP and mimir install directories), this mean i used this option - So currently my agents writing all metrics to endpoint like it was suggested here - I am using pretty much the same nginx config(only with my ports):
I have got 1 agent per host, with remote write destination pointing to nginx's load balancer
|
Beta Was this translation helpful? Give feedback.
on a second look at the config I think it might have to do with
instance_addr: 0.0.0.0
fields in some of the config blocks. Have you tried removing this line from the config, so that the instances can each detect their own IP addresses? The addresses should be different for the 3 replicas.