[prometheus-users] Copyright

2021-12-24 Thread Dioswilson
Hello, I had some issues importing prometheus libraries into my project so i copy pasted the code into mine(21 classes in total), i was wandering if i could share this project publicly if i gave credits on that code. -- You received this message because you are subscribed to the Google Groups

[prometheus-users] FIGLIO DI ZOCCOLONA #PIERSILVIOBERLUSCONI (ANCOR PIÚ, FIGLIO DI PEDOFILO, MACELLA MAGISTRATI, BASTARDO STRAGISTA #SILVIOBERLUSCONI) RICICLA QUINTALI DI CASH MAFIOSO, COME FATTO DA S

2021-12-24 Thread EDOARDO LOMBARDI EX CRIMINALI FININVEST MEDIOLANUM
FIGLIO DI ZOCCOLONA #PIERSILVIOBERLUSCONI (ANCOR PIÚ, FIGLIO DI PEDOFILO, MACELLA MAGISTRATI, BASTARDO STRAGISTA #SILVIOBERLUSCONI) RICICLA QUINTALI DI CASH MAFIOSO, COME FATTO DA SUO NONNO, IL PEZZO DI MERDA, IL MASSONE SATANISTA CRIMINALISSIMO..#LUIGIBERLUSCONI, IN #BANCARASINI! E COME

[prometheus-users] Re: working of AND in rule expr

2021-12-24 Thread Brian Candler
To be clear, Prometheus itself doesn't "throw resolve alerts". An alert is an expression which returns an instant vector: a set of zero or more values, each with a distinct label set. When the expression returns a value, the alert goes into pending and then firing states. When the expression

[prometheus-users] Re: working of AND in rule expr

2021-12-24 Thread rashmi Rashmitha
Hi To be more specific, I need to achieve the below scenario. I need to capture the 200 status response time of an endpoint(uri=/base) and if 99percentile of the response time is > 10ms I need to get a firing alert. and once I receive the firing alert, I'm trying to stop the application of th

[prometheus-users] Re: working of AND in rule expr

2021-12-24 Thread Brian Candler
An alert fires if the expression has *any* value. The absence of a value means no alert. I suggest you break down your expression into parts, pasting the parts separately into the PromQL browser, and switch it to "graph" mode, to see what's going on. 1. Paste the whole expression histogram_q

Re: [prometheus-users] Prometheus resolve alert thrown when no metric is available

2021-12-24 Thread Stuart Clark
On 2021-12-24 13:09, rashmi Rashmitha wrote: Hi Team, I need to get firing alert when 99th percentile of response time is 10ms. and this I have achieved using histogram_quantile and configured this in rule expr. Firing alert thrown as expected. For some reason, the metric is gone and when the

[prometheus-users] working of AND in rule expr

2021-12-24 Thread rashmi Rashmitha
Hi team, In rule expr, I have something like this. expr: histogram_quantile(.99, sum(rate(http_server_requests_seconds_bucket{uri="/base",status="200",appName="X"}[5m])) by (le,appName)) > bool 0.01 and absent( http_server_requests_seconds_bucket) !=1 I expect firing alert when histogram q

[prometheus-users] Prometheus resolve alert thrown when no metric is available

2021-12-24 Thread rashmi Rashmitha
Hi Team, I need to get firing alert when 99th percentile of response time is >10ms. and this I have achieved using histogram_quantile and configured this in rule expr. Firing alert thrown as expected. For some reason, the metric is gone and when the metric is not available, prometheus is resol