Faberby FaberOps

RabbitMQ Memory and Disk Resource Alarm Blocking Publishers

Matches RabbitMQ vm_memory_high_watermark and disk_free_limit alarms that throttle or block AMQP message publishers.

Kind
Signature
Version
2.0.0
Tier
verified
Needs Faber
v2.0.0+
Digest prefix
sha256:2fd902aa

Contract facts

Sources
3
kubernetes, loki, prometheus
Log patterns
3
RE2, replayed in CI
Kubernetes matchers
0
CEL on live objects
Samples
3 and 2
must match and must not

Inspect it

Inspect the contract and RBAC delta

$ faberctl catalog inspect signatures/rabbitmq-memory-alarm-blocked \ --source oci://ghcr.io/faberops/catalog:v2

How it works

Sources

kubernetes, loki, prometheus

What it matches

Must match

  • vm_memory_high_watermark set. Memory used: 1800000000. Publishers will be blocked until this alarm clears
  • disk_free_limit set. Free space: 45000000. Publishers will be blocked
  • connection blocked: resource alarm memory in effect on node rabbit@rmq-server-0

Must not match

  • RabbitMQ cluster messaging/prod-rmq AllReplicasReady=True
  • vm_memory_high_watermark clear. Publishers are unblocked

Signature source

signature.yamlFailureSignature25 lines
apiVersion: catalog.faberops.dev/v2
kind: FailureSignature
metadata:
  name: rabbitmq-memory-alarm-blocked
spec:
  description: Matches RabbitMQ vm_memory_high_watermark and disk_free_limit alarms that throttle or block AMQP message publishers.
  sources:
  - kubernetes
  - loki
  - prometheus
  logPatterns:
  - vm_memory_high_watermark set\. Memory used:.*Publishers will be blocked
  - disk_free_limit set\. Free space:.*Publishers will be blocked
  - resource alarm.*in effect on node rabbit@
  samples:
    match:
    - 'vm_memory_high_watermark set. Memory used: 1800000000. Publishers will be blocked until this alarm clears'
    - 'disk_free_limit set. Free space: 45000000. Publishers will be blocked'
    - 'connection blocked: resource alarm memory in effect on node rabbit@rmq-server-0'
    noMatch:
    - RabbitMQ cluster messaging/prod-rmq AllReplicasReady=True
    - vm_memory_high_watermark clear. Publishers are unblocked
  queries:
    loki: '{app_kubernetes_io_component="rabbitmq"} |= "Publishers will be blocked" or |= "resource alarm"'
    promql: max by (namespace, pod) (rabbitmq_alarms_memory_used_watermark) == 1
pack.yamlcatalog metadata11 lines
# Catalog metadata for signatures/rabbitmq-memory-alarm-blocked. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
  name: rabbitmq-memory-alarm-blocked
  category: signatures
  version: 2.0.0
spec:
  tier: verified
  minFaberVersion: v2.0.0
  digest: sha256:2fd902aa63976c707e22dacd42544d3c19db9690ab4e45f77039458ba8ba7a13

Signatures are catalog data. A Playbook references one by name in a connector trigger. It is never applied on its own.