Here is the text:

groups:
  - name: confluent-rules
    rules:

    - alert: Dev-NotEqualtoBoolZero
      expr: confluent_kafka_server_consumer_lag_offsets{job="confluent-cloud"}
> 100
      labels:
        severity: critical
      annotations:
        description: "The consumer lags for Dev client`"

On Wed, Aug 21, 2024 at 1:51 PM Daz Wilkin <daz.wil...@gmail.com> wrote:

> Please include the rule.
>
> You've shown that the query returns results which is necessary but
> insufficient.
>
> On Wednesday, August 21, 2024 at 8:19:34 AM UTC-7 Jay P wrote:
>
>> I am not new to Prometheus however, I wrote the following rules which
>> never fires. (Alertmanger and all other settings are fine since I get
>> Alarms for other rules except this one)
>>
>> Attached here it he screenshot and i am copy pasting here as well.
>>
>> confluent_kafka_server_consumer_lag_offsets{job="confluent-cloud"} > 1
>>
>> Results:
>> confluent_kafka_server_consumer_lag_offsets{consumer_group_id="XXX",
>> instance="api.telemetry.confluent.cloud:443", job="confluent-cloud",
>> kafka_id="XXX", topic="XXX"}
>> 2
>> confluent_kafka_server_consumer_lag_offsets{consumer_group_id="XXX",
>> instance="api.telemetry.confluent.cloud:443", job="confluent-cloud",
>> kafka_id="XXX", topic="XXX"}
>> 3
>>
>> Any help is greatly appreciated. Thank you
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Prometheus Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/prometheus-users/pBEqCDIUFug/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> prometheus-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/e8007886-5a85-4fdb-938e-36373409498cn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/e8007886-5a85-4fdb-938e-36373409498cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAN3oSLR-GRCP%2BnTLq2TJc8BoUf7QHMUt%3DLuD%2B%2BcX2sYgss61JQ%40mail.gmail.com.

Reply via email to