Re: [prometheus-users] How-To debug prometheus_rule_evaluation_failures_total? Prometheus is failing rule evaluations

2021-04-23 Thread Matthias Rampke
It seems like you are federating through an ingress or load balancer that balances over multiple Prometheus server replicas. Either federate from each separately, or make sure that you only get responses from one consistently. As an alternative to the global federation, consider Thanos, it scales

Re: [prometheus-users] sum_over_time from a query where the result is a bool function.

2021-04-23 Thread Luciano Polo
Thanks for your observations. I tried the approach you suggested but I am not getting the expected result which is an incremental counter. I see the results incrementing when is less than 98 but I also see decreasing result sometimes when is not less than 98. It does not make any sense to me.

Re: [prometheus-users] sum_over_time from a query where the result is a bool function.

2021-04-23 Thread Julius Volz
Hi, There are at least a couple of things off in that query: * http_service_api looks like it's probably a counter metric (although it doesn't have a "_total" suffix), so you need to apply rate() to it first, before applying a sum(). Otherwise you are looking at the absolute value of the

[prometheus-users] sum_over_time from a query where the result is a bool function.

2021-04-23 Thread Luciano Polo
HI, I am not able to make this query to work precise enough. Hopefully, someone can help me out. This Query works fine. It returns 1 if the result is less than 98 100*sum(http_service_api{apiCode="0"}) by (method) / ignoring (apiCode) group_left() sum(http_service_api{} ) by (method) < bool

[prometheus-users] Multi cluster availability

2021-04-23 Thread Mohan Nagandlla
Hi team Let we take an example like cluster A and cluster B here services x is running on A unfortunately it went don't in A automatically it will Up in B so here how do I get metrics from both clusters in a single Prometheus. -- You received this message because you are subscribed to the Google

Re: [prometheus-users] Problems with snmp_exporter generator

2021-04-23 Thread 'Thorben Köller' via Prometheus Users
generetaor parse_errors gives me the same output as generate. sup...@gmail.com schrieb am Freitag, 23. April 2021 um 12:09:51 UTC+2: > Did you run "generator parse_errors" to validate parsing of all MIBs? > > On Fri, Apr 23, 2021 at 10:38 AM 'Thorben Köller' via Prometheus Users < >

Re: [prometheus-users] Problems with snmp_exporter generator

2021-04-23 Thread Ben Kochie
Did you run "generator parse_errors" to validate parsing of all MIBs? On Fri, Apr 23, 2021 at 10:38 AM 'Thorben Köller' via Prometheus Users < prometheus-users@googlegroups.com> wrote: > Update: I would rule out any significant problems with the MIBs. I have > once more rechecked that all

Re: [prometheus-users] Problems with snmp_exporter generator

2021-04-23 Thread 'Thorben Köller' via Prometheus Users
Update: I would rule out any significant problems with the MIBs. I have once more rechecked that all required MIBs are present with fitting names and snmptranslate works fine for "non standard" MIBs. Do you have another idea, what I could check? Thorben Köller schrieb am Freitag, 23. April 2021

Re: [prometheus-users] Problems with snmp_exporter generator

2021-04-23 Thread 'Thorben Köller' via Prometheus Users
Ok, I have made no progress so far (copied the files to relevant directories). But just for clarification: this is rather a problem with the MIBs than the snmp exporter generator, isn't it? sup...@gmail.com schrieb am Montag, 19. April 2021 um 14:44:32 UTC+2: > As you can see by the original