-
Notifications
You must be signed in to change notification settings - Fork 19
85 lines (78 loc) · 3.53 KB
/
alerts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: Test alerts
on:
push:
branches-ignore:
- development/**
- q/*/**
jobs:
run-alert-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Render and test lifecycle
uses: scality/[email protected]
with:
alert_file_path: monitoring/lifecycle/alerts.yaml
test_file_path: monitoring/lifecycle/alerts.test.yaml
alert_inputs: |
namespace=zenko
job_lifecycle_producer=artesca-data-backbeat-lifecycle-producer-headless
job_lifecycle_bucket_processor=artesca-data-backbeat-lifecycle-bucket-processor-headless
job_lifecycle_object_processor=artesca-data-backbeat-lifecycle-object-processor-headless
job_lifecycle_transition_processor=artesca-data-backbeat-lifecycle-transition-processor-headless
job_sorbet_forwarder=artesca-data-sorbet-fwd-
lifecycle_conductor_replicas=1
lifecycle_bucket_replicas=3
lifecycle_object_replicas=3
lifecycle_transition_replicas=3
lifecycle_latency_warning_threshold=120
lifecycle_latency_critical_threshold=180
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}
- name: Render and test replication
uses: scality/[email protected]
with:
alert_file_path: monitoring/replication/alerts.yaml
test_file_path: monitoring/replication/alerts.test.yaml
alert_inputs: |
namespace=zenko
job_queue_populator=backbeat-replication-producer-headless
job_data_processor=backbeat-replication-data-processor-headless
job_replay_processor=backbeat-replication-replay-processor-headless
job_status_processor=backbeat-replication-status-processor-headless
queue_populator_replicas=1
data_processor_replicas=3
replay_processor_replicas=3
status_processor_replicas=3
replicationErrorsWarningThreshold=0.1
replicationErrorsCriticalThreshold=1
rpoWarningThreshold=600
rpoCriticalThreshold=900
latencyWarningThreshold=3000
latencyCriticalThreshold=6000
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}
- name: Render and test notification
uses: scality/[email protected]
with:
alert_file_path: monitoring/notification/alerts.yaml
test_file_path: monitoring/notification/alerts.test.yaml
alert_inputs: |
namespace=zenko
job_notification_producer=artesca-data-backbeat-notification-producer-headless
job_notification_processors=artesca-data-backbeat-notification-processor
notificationFailuresWarningThreshold=0.1
notificationFailuresCriticalThreshold=0.5
notification_producer_replicas=3
notification_processor_replicas=2
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}
- name: Render and test oplog populator
uses: scality/[email protected]
with:
alert_file_path: monitoring/oplog-populator/alerts.yaml
test_file_path: monitoring/oplog-populator/alerts.test.yaml
alert_inputs: |
namespace=zenko
oplog_populator_job=artesca-data-backbeat-oplog-populator-headless
oplogPopulatorChangeStreamLagThreshold=10
oplogPopulatorChangeStreamLimit=10
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}