-
Notifications
You must be signed in to change notification settings - Fork 85
65 lines (58 loc) · 2.08 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
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 mongodb alerts
uses: scality/[email protected]
with:
alert_file_path: monitoring/mongodb/alerts.yaml
test_file_path: monitoring/mongodb/alerts.test.yaml
alert_inputs: |
namespace=zenko
service=data-db-mongodb-sharded
pvc=datadir-mongodb
replicas=3
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}
- name: Render and test kafka alerts
uses: scality/[email protected]
with:
alert_file_path: monitoring/kafka/alerts.yaml
test_file_path: monitoring/kafka/alerts.test.yaml
alert_inputs: |
namespace=zenko
service=artesca-data-base-queue
pvc=artesca-data-base-queue
cluster=artesca-data-base-queue
replicas=3
maxConsumerLagMessagesWarningThreshold=1000
maxConsumerLagSecondsWarningThreshold=300
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}
- name: Render and test redis alerts
uses: scality/[email protected]
with:
alert_file_path: monitoring/redis/alerts.yaml
test_file_path: monitoring/redis/alerts.test.yaml
alert_inputs: |
namespace=zenko
service=artesca-data-base-cache-metrics
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}
- name: Render and test zookeeper alerts
uses: scality/[email protected]
with:
alert_file_path: monitoring/zookeeper/alerts.yaml
test_file_path: monitoring/zookeeper/alerts.test.yaml
alert_inputs: |
namespace=zenko
service=artesca-data-base-quorum-headless
pvc=artesca-data-base-quorum
replicas=3
quorum=3
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}