[prometheus-users] Re: Promteheus HA different metrics

2023-09-04 Thread Brian Candler
Note that setting the scrape timeout longer than the scrape interval won't achieve anything. I'd suggest you investigate by looking at the history of the "up" metric: this will go to zero on scrape failures. Can you discern a pattern? Is it only on a certain type of target, or targets running

[prometheus-users] Re: Promteheus HA different metrics

2023-09-04 Thread Анастасия Зель
yes, i see errors on targets page in web interface. I tried to increase timeout to 5 minutes and it changes nothing. Its strange because prometheus 2 always get this error on similar pods. And prometheus 1 never get this errors on this pods. понедельник, 4 сентября 2023 г. в 19:00:32 UTC+4, Bria

Re: [prometheus-users] Re: Promteheus HA different metrics

2023-09-04 Thread Ben Kochie
On Mon, Sep 4, 2023 at 5:00 PM Brian Candler wrote: > On Monday, 4 September 2023 at 15:49:25 UTC+1 Анастасия Зель wrote: > > Hello, we use HA prometheus with two servers. > > You mean, two Prometheus servers with the same config, both scraping the > same targets? > > > > The problem is we get di

[prometheus-users] Re: Promteheus HA different metrics

2023-09-04 Thread Brian Candler
On Monday, 4 September 2023 at 15:49:25 UTC+1 Анастасия Зель wrote: Hello, we use HA prometheus with two servers. You mean, two Prometheus servers with the same config, both scraping the same targets? The problem is we get different metrics in dashboards from this two servers. Small differe

[prometheus-users] Promteheus HA different metrics

2023-09-04 Thread Анастасия Зель
Hello, we use HA prometheus with two servers. The problem is we get different metrics in dashboards from this two servers. And we also scrape metrics from k8s, and some pods are not scraping because of error context deadline exceeded Its differents pods on each server. In prometheus logs we dont

[prometheus-users] Re: usage of multiple mysql db instances with openshift

2023-09-04 Thread Brian Candler
On Monday, 4 September 2023 at 10:15:06 UTC+1 sneha wrote: i tried adding multiple db instance in .my.cnf file with mysql exporter version 0.15.0 but it only scrape DB instance only. is there any sample to use mutliple DB instance for single exporter Yes, there is an example Prometheus config a

[prometheus-users] usage of multiple mysql db instances with openshift

2023-09-04 Thread sneha
hi, i tried adding multiple db instance in .my.cnf file with mysql exporter version 0.15.0 but it only scrape DB instance only. is there any sample to use mutliple DB instance for single exporter and how to distinguish scrape data is of which instance. thanks, sneha -- You received this messa

[prometheus-users] Re: Sharing selected data between 2 Prometheis

2023-09-04 Thread Brian Candler
On Sunday, 3 September 2023 at 16:59:22 UTC+1 Brian Candler wrote: I don't know if Prometheus itself implements the remote read protocol as a storage endpoint (I've never come across it). To answer my own question, it does: see https://prometheus.io/docs/prometheus/latest/querying/remote_read_