83 lines
3.9 KiB
YAML
83 lines
3.9 KiB
YAML
groups:
|
|
- name: Process_Alert
|
|
rules:
|
|
- alert: bluedart-shipment-queue-processor
|
|
expr: bluedart_shipment_queue_processor_value{host="bac-p-manifest-worker-01b-cicd",job="telegraf-exporter",name="bac-p-worker-manifest-01b"} < 1
|
|
for: 5s
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: "bluedart-shipment-queue-processor process is down {{ $labels.host }}"
|
|
description: "bluedart-shipment-queue-processor process is down {{ $labels.host }}. Please check."
|
|
|
|
# - alert: delhivery-shipment-queue-processor
|
|
# expr: delhivery_shipment_queue_processor_value{host="bac-p-manifest-worker-01b-cicd",job="telegraf-exporter",name="bac-p-worker-manifest-01b"} < 1
|
|
# for: 5s
|
|
# labels:
|
|
# severity: critical
|
|
#annotations:
|
|
# summary: "delhivery-shipment-queue-processor process is down {{ $labels.host }}"
|
|
# description: "delhivery-shipment-queue-processor process is down {{ $labels.host }}. Please check."
|
|
|
|
- alert: xpressbees-shipment-queue-processor
|
|
expr: xpressbees_shipment_queue_processor_value{host="bac-p-manifest-worker-01b-cicd",job="telegraf-exporter",name="bac-p-worker-manifest-01b"} < 1
|
|
for: 5s
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: "xpressbees-shipment-queue-processor process is down {{ $labels.host }}"
|
|
description: "xpressbees-shipment-queue-processor process is down {{ $labels.host }}. Please check."
|
|
|
|
- alert: track-shipment-delay-processor
|
|
expr: track_shipment_delay_processor_value{host="bac-p-manifest-worker-01b-cicd",job="telegraf-exporter",name="bac-p-worker-manifest-01b"} < 1
|
|
for: 5s
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: "track-shipment-delay-processor process is down {{ $labels.host }}"
|
|
description: "track-shipment-delay-processor process is down {{ $labels.host }}. Please check."
|
|
|
|
- alert: jusda-shipment-queue-processor
|
|
expr: jusda_shipment_queue_processor_value{host="bac-p-manifest-worker-01b-cicd",job="telegraf-exporter",name="bac-p-worker-manifest-01b"} < 1
|
|
for: 5s
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: "jusda-shipment-queue-processor process is down {{ $labels.host }}"
|
|
description: "jusda-shipment-queue-processor process is down {{ $labels.host }}. Please check."
|
|
|
|
- alert: ecom-shipment-queue-processor
|
|
expr: ecom_shipment_queue_processor_value{host="bac-p-manifest-worker-01b-cicd",job="telegraf-exporter",name="bac-p-worker-manifest-01b"} < 1
|
|
for: 5s
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: "ecom-shipment-queue-processor process is down {{ $labels.host }}"
|
|
description: "ecom-shipment-queue-processor process is down {{ $labels.host }}. Please check."
|
|
|
|
- alert: shadowfax-shipment-queue-processor
|
|
expr: 'shadowfax_shipment_queue_processor_value{host="bac-p-manifest-worker-01b-cicd",job="telegraf-exporter",name="bac-p-worker-manifest-01b"} < 1'
|
|
for: 5s
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: "shadowfax-shipment-queue-processor process is down {{ $labels.host }}"
|
|
description: "shadowfax-shipment-queue-processor process is down {{ $labels.host }}. Please check."
|
|
|
|
#- alert: order_event_worker
|
|
# expr: order_event_worker_value{host="bac-p-supplyapi-01b",job="telegraf-exporter",name="bac-p-supplyapi-01b"} < 4
|
|
# for: 5s
|
|
# labels:
|
|
# severity: critical
|
|
# annotations:
|
|
# summary: "order_event_worker process is less than 9 {{ $labels.host }}"
|
|
# description: "order_event_worker process is less than 9 {{ $labels.host }}. Please check."
|
|
|
|
- alert: user_payment_done_worker
|
|
expr: user_payment_done_worker_value{host="bac-p-supplyapi-01b",job="telegraf-exporter",name="bac-p-supplyapi-01b"} < 2
|
|
for: 5s
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
summary: "user_payment_done_worker process is less than two {{ $labels.host }}"
|
|
description: "user_payment_done_worker process is less than two {{ $labels.host }}. Please check." |